On Jan 17, 2005, at 22:41, Bernard Lebel wrote:

Alan Gauld wrote:
 In fact
I usually refer to Java as a Class Oriented Programming
rather than Object Oriented.


If you allow me a question....

What is the fundamental difference between the two? To me this is not clear. I thought that a class was basically a programming object with properties and methods, but I never thought a class could not be an object.

if you're only using static (class) methods, then your class can't/needn't be instanciated, and then is nothing more than the equivalent of a Python module. I think that's what Alan means by class-oriented programming.


However, all the Java programming I've done so far has been true OOP (hopefully; it was for a Uni module called Object-Oriented Software Engineering), and I fail to see what in its design does not encourage this practice.

-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting and sweating as you run through my corridors... How can you challenge a perfect, immortal machine?"


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to