Asad Habib wrote: (top-post corrected)
- Asad
On Fri, 6 Jan 2006, bruno desthuilliers wrote:
Rocky Burt wrote:
(snip)
In fact I'd go as far as to say that Python seems *more* object-oriented than Java.
s/seems/is/
Java is more class-oriented than object-oriented. It forces you to use classes for everything, but not everything is an object. Python let you use the paradigm that seems appropriate for the task at hand, but still everything is an object (really everything : functions, classes and modules too...)
Well, the class is simply a construct that Java uses to define an object. Also, the concept of object is well defined in Java which makes it easier for the programmer to know what can and cannot be done. In Python, it is not as explicit.
Ho, really ? Chapter and verse, please ?
Java is a programming language and hence cannot be compared directly to a scripting language such as Python
Lol.
or PHP. These 2 types are designed for different purposes.
Learn Python, learn about it's object model, learn about it's execution model, and stop talking like a clueless newbie. -- bruno desthuilliers développeur bruno@modulix.org http://www.modulix.com