r/javascript • • Apr 21 '15

Recruiters... JavaScript is NOT Java.

http://javascriptisnotjava.io/
380 Upvotes

162 comments sorted by

View all comments

30

u/ianme Apr 21 '15

But javascript has classes now! Just like Java! Same language confirmed.

-5

u/SarahC Apr 21 '15

You mean I can avoid fucking prototype chains?!

Woooooooo!

8

u/[deleted] Apr 21 '15

Or you could just stop trying to use OO design in a language that isn't well suited for it.

5

u/[deleted] Apr 21 '15

Pretty much this. I've never needed classes in JS. I've needed tail calls I didn't have to fake myself, but once they're in place, JS will - to me - have grown up. Now we just need to eliminate var and leave only let and const, and things get really interesting.