Re: [Python-Dev] .len() instead of __len__() in Py3.0

2006-03-06 Thread Giovanni Bajo
Oleg Broytmann <[EMAIL PROTECTED]> wrote: >> I just wanted to point out that one of the things I *LOVE* about Python >> is that the design of name resolution in Python ensures that no >> programmer need suffer from the size of the builtin namespace. If you >> never use certain builtins, perhaps "h

Re: [Python-Dev] .len() instead of __len__() in Py3.0

2006-03-06 Thread Oleg Broytmann
On Mon, Mar 06, 2006 at 05:33:23AM -0800, Michael Chermside wrote: > Oleg Broytmann writes that he thinks methods are inherently "better" than > methods. "...better than *functions*." > In defense of functions, my first exhibit is the following snippet of Java > code: > > /** Returns b^2 -