A Python 3000 Question

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Tue Oct 30 10:08:45 CET 2007


brad a écrit :
> Will len(a_string) become a_string.len()? I was just reading
> 
> http://docs.python.org/dev/3.0/whatsnew/3.0.html
> 
> One of the criticisms of Python compared to other OO languages is that 
> it isn't OO enough

Really ? IIRC, Python doesn't have primitive types, functions are 
objects, methods are objects, classes are objects, even modules are 
objects... Isn't this 'OO enough' ?

> or as OO as others

Which ones ? Java, that does have primitive types ?

(snip question about len() not being a method - no personal opinion on 
the topic)



More information about the Python-list mailing list