IsPython really O-O?

Adam Spitz adamspitz at bigfoot.com
Wed Nov 14 15:17:45 EST 2001


Andrew Dalke wrote:

> I've never liked that idea though (which Smalltalk and Ruby both
> have).  I think adding methods to an existing class is like
> playing around with global variables.  What's to keep two different
> libraries from adding a method with the same name but which
> does different things?

Faith? :)

Seriously? It's almost never a problem. (Python people ought to be
familiar with this argument - it's the same one we all use when
incredulous C++/Java programmers ask us how we can possibly live
without a static type checker. ;)


Adam Spitz



More information about the Python-list mailing list