On 11/22/06, Andrew Koenig <[EMAIL PROTECTED]> wrote:
> > Hm, I would think it extends very naturally to instance variables, and
> > I see no reason why it's a particularly bad idea to also extend it
> > (mostly in our minds anyway, I expect) to describe certain behaviors
> > that cannot be expressed (easily) in code.
>
> I think of an ability as a property of an interface rather than an interface
> itself.  For example, I can imagine a single interface having multiple
> abilities.

Hm, that sounds like a case for inheritance. The abilities would be
the bases and the interface would extend all of them. They could all
be called abilities or they could all be called interfaces. The
linguistic metaphor only goes so far...

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to