On 4/7/06, Fred L. Drake, Jr. <[EMAIL PROTECTED]> wrote:
> On Friday 07 April 2006 14:33, Guido van Rossum wrote:
>  > OTOH if you really like to express implementing an interface as
>  > inheriting from that interface, what's the problem with inheriting the
>  > adapter?
>
> Ugh!  Inheritance should only be done to get implementation.  If there's value
> in default implementation of methods, a base class can be provided
> independently of the interface.

That's what I was thinking -- I was only trying to guess what Walter was after.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
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