candide a écrit :
Excerpt quoted from http://www.astro.ufl.edu/~warner/prog/python.html :

"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++).
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to