[Python-Dev] copy, len and the like as 'object' methods?

James_Althoff@i2.com James_Althoff@i2.com
Wed, 22 Aug 2001 16:52:40 -0700

Guido wrote:
>AFAICT, the len() method proposal is just an attempt to be more OO,
>and to avoid being made fun of by a bunch of Perlers.  I don't care
>about #1, and it's naive to think that solving one issue will avoid

I agree that it isn't so important to be swayed by #1 and #2 above.  But
there is a #3.  I've introduced over fifty programmers (coming from Java)
to Jython and a high percentage trip over this initially (momentarily, at
least ;-).  It doesn't take much to get past it, obviously, but it's a
little nicer not to stumble to begin with.  (my final 2 cents worth :-)