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

Tim Peters tim.one@home.com
Wed, 22 Aug 2001 23:32:50 -0400


[David Ascher]
> My only point is that if the language were to be designed today, my
> guess is that those things would be methods (or interfaces :-).

[Guido]
> Sure.

Say what?!  What kind of stupid-ass language spells the len() function as if
it were a method?  That's carrying consistency to an irrational extreme --
trust your decade-old intuition on this one (which was challenged no later
than 9 years ago on the same ground).

> But they're not so broken as to warrant a redesign.  There are
> more important battles.

Proof:  every thread bloats in inverse proportion to its true importance.
So there <wink>.

incisively y'rs  - tim