Re:Pullup, the site you join via pull request
by TrainedMonkey on Tuesday February 11, 2014 @04:31PM
(#7220597)
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.
[ Parent
| on HN ]
Re:Pullup, the site you join via pull request
by EpicEng on Tuesday February 11, 2014 @04:42PM
(#7220671)
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.
Re:Pullup, the site you join via pull request
by noir_lord on Tuesday February 11, 2014 @05:07PM
(#7220839)
> 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.
Re:Pullup, the site you join via pull request
by TrainedMonkey on Tuesday February 11, 2014 @07:40PM
(#7221694)
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.
Re:Pullup, the site you join via pull request
by shangxiao on Tuesday February 11, 2014 @09:32PM
(#7222162)
So I guess by that argument you'd put PHP in that family? ;)