kirby urner wrote:
> On 5/26/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> 
>> I think there's two issues: classes and inheritance.  I don't think
>> inheritance is a particularly respected structure in Python.
> 
> 
> ???

Inheritance as an abstraction used for communication.  In other words, 
giving someone a class and telling them to subclass it.  Also, paying 
attention to the class hierarchy when consuming objects is discouraged. 
  Actually, paying any attention to the class when consuming an object 
is discouraged.

>> Inheritance is a sometimes useful implementation technique.  I think
>> it's wrong to think of it as more than that.  Probably we need better
>> support for some other competing techniques.
> 
> 
> Composition is a commonly used competing technique.  Then of course
> we're free to just write functions, outside of any class.

Yes, that works great ;)
_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to