Interfaces.

Chris M chris.monsanto at gmail.com
Sat Nov 17 00:13:17 EST 2007


On Nov 16, 12:26 am, James Stroud <jstr... at mbi.ucla.edu> wrote:
> Chris M wrote:
> > On Nov 15, 8:55 pm, "PeterBrad... at googlemail.com"
> > <PeterBrad... at googlemail.com> wrote:
> >> Hi,
>
> >> Does anyone know what the state of progress with interfaces for python
> >> (last I can see ishttp://www.python.org/dev/peps/pep-0245/)
>
> >> I would argue that interfaces/(similar feature) are necessary in any
> >> modern language because they provide a way of separating the
> >> specification from the implementation of a module.
>
> >> I also had a new idea - when specifying the functionality of a module,
> >> it would be nice to combine examples of valid behaviour / some sort of
> >> testing.
>
> >> It might therefore be possible to combine unit testing with
> >> interfaces.
>
> >> What do you all think?
>
> >> Peter
> >> (new to python so be nice :)
>
> > Status:    Rejected
>
> Thank you for pointing out the obvious. But *truly* helpful would be
> insight into "While at some point I expect that Python will have
> interfaces." Look for that sentence under the "rejected" part.
>
> James
>
> --
> James Stroud
> UCLA-DOE Institute for Genomics and Proteomics
> Box 951570
> Los Angeles, CA  90095
>
> http://www.jamesstroud.com

Then answer his question yourself instead of wasting everyones
bandwidth going on some moral crusade. There's something to be said
about users with signatures longer than their messages...



More information about the Python-list mailing list