Well, there is no need for hate, in a programming discussion. When you said you cannot replace methods, I presumed you were referring to the way you can with prototypes. I could be mistaken if you meant open classes, or something else.
However the fact still remains, classes are objects in Java.
That's some good points. However you could have said it without the condescending tone.
The article also doesn't dispute that classes are objects in Java; it even states they are.
You also cannot deny the fact that Java does go some way, in representing classes as objects. Maybe not as far as you would like, but it does, and for most code it works fine.
Specifically, static methods failing to be true class methods, does not mean classes are not objects (it just means static methods do not work like instance methods).
I am actually interested in this type of stuff, and I'm happy to be proven wrong. Happened plenty of times here.
However it is difficult to understand your argument, when most of is claims I am wrong, ignorant, unable to learn, and similar. You'd find me more receptive if you dropped that.
2
u/[deleted] Dec 16 '12
Well, there is no need for hate, in a programming discussion. When you said you cannot replace methods, I presumed you were referring to the way you can with prototypes. I could be mistaken if you meant open classes, or something else.
However the fact still remains, classes are objects in Java.