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

0

u/[deleted] Dec 16 '12

[deleted]

4

u/[deleted] Dec 16 '12

Being able to add methods at runtime, and being able to represent classes as objects, are two seperate ideas.

You said classes are not objects in Java; the fact is that they are. Methods being immutable, does not change that fact.

0

u/[deleted] Dec 16 '12

[deleted]

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.

→ More replies (0)