Hacker News new | ask | show | jobs
by noir_lord 4505 days ago
> My point was that JS is so much like C++/C#/Java that you do not really need to learn anything new.

Except Javascript is a prototype based language and the others you mentioned are all object based....but hey they all terminate statements with ; so must be identical I guess.

2 comments

Of course, the semicolons. Neither assembly nor python use semicolons, so by my logic they must be identical too?

Control flow, method invocations, variables, arrays, boolean logic operators, and general syntax are similar enough that you can look at the JS code and figure out what it is doing.

So I guess by that argument you'd put PHP in that family? ;)
Besides the fact that js is an interpreted dynamic language while the others are statically typed