is python Object oriented??

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Thu Jan 29 06:40:23 EST 2009


(answering to the OP)
> M Kumar wrote:
>> Object oriented languages doesn't allow execution of  the code without
>> class objects,

Chapter and verse, please ?

Nothing in the (very few) "axioms" of OOP mentions "classes". You don't 
need classes to have an OOPL (ever heard about prototype-based languages 
?). OOP is - as the name imply - about *objects*.

>> what is actually happening when we execute  some piece
>> of code,

Top-level code ? or the body of a def statement ?

>> is it bound to any class?

Why should it be ?




More information about the Python-list mailing list