[Python-3000] Builtin iterator type

Fredrik Lundh fredrik at pythonware.com
Wed Nov 15 08:57:22 CET 2006


George Sakkis wrote:

> I won't open another can of worms here, but I'll just say that as much
> as I hate Java's stubborn insistence on OO purity, I am equally
> disturbed by Python's arbitrary-looking choices on whether some
> callable ends up a function or a method. When I talk about or
> introduce Python to outsiders, one of the toughest questions is often
> something along the lines of "why len() is a function and not a
> method?"

I guess those outsiders don't really understand the concept of a 
"generic operation".  are you sure *you* understand what that is?
it's not obvious from your posts.

</F>



More information about the Python-3000 mailing list