Collection interfaces

Topmind topmind at
Fri Mar 2 04:01:00 CET 2001

> Topmind wrote:
> > 
> > There is no polymorphism if there is
> > only one "type" with a bunch of independant attributes -
> > HAS-A reigns and sub-IS-A is rare.
> Polymorphism is not inherently dependent on any 
> kind of inheritance or classification system.
> In Python, for instance, most functions are quite
> promiscuous and will happily operate on any
> objects which have the right methods, without there
> having to be any inheritance relationship between
> them.
> -- 
> Greg Ewing, Computer Science Dept, University of Canterbury,	  
> Christchurch, New Zealand
> To get my email address, please visit my web page:	  

I kind of had (having) this discussion with Jay recently
WRT Smalltalk. I would
give you a message ID but the designers of usenet were
drunk when they designed that part.


More information about the Python-list mailing list