Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My point was that JS is so much like C++/C#/Java that you do not really need to learn anything new. If you know any of those languages you can already hack JS.


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


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


Ok, but that wasn't my point. I am not under the impression that it would be difficult to learn javascript. The apparent assumption that all developers already know javascript is what is telling.

As to your point, I don't remember the last time I had to think about using '==' or '===' in C++. Semantics differences are huge, I don't care about curly braces and semicolons.


Syntax yes, semantics no. It is dangerous to lump all those languages together because they look similar.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: