Not fully OO ?

Bruno Desthuilliers bdesth.quelquechose at
Sat Sep 20 18:33:47 CEST 2008

candide a écrit :
> Excerpt quoted from :
> "About Python: Python is a high level scripting language with object 
> oriented features.
> (...)
> Python supports OOP and classes to an extent, but is not a full OOP 
> language."
> Thanks for any comment.

The following definitions are AFAIK the only commonly accepted 
definitions about OO:

1/ an object is defined by identity, state and behaviour
2/ objects interacts by sending messages each other
3/ an OO program is made of interacting objects

I let you find out whether Python meets these 3 definitions - and if 
Java does (hint : in Python, everything you can bind to a name is an 
object - this is not true in Java or C++).

More information about the Python-list mailing list