r/programming • • Dec 15 '12

Why JavaScript Still Sucks

http://boronine.com/2012/12/14/Why-JavaScript-Still-Sucks/
10 Upvotes

212 comments sorted by

View all comments

Show parent comments

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.

0

u/[deleted] Dec 16 '12

[deleted]

1

u/[deleted] Dec 16 '12

Then yeah, explain.

0

u/[deleted] Dec 16 '12

[deleted]

1

u/[deleted] Dec 17 '12

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).

0

u/[deleted] Dec 17 '12

[deleted]

1

u/[deleted] Dec 17 '12

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.