4 ms·
How is JavaScript a small language at all? It’s comparable to Java in the number of language features. Java Reference https://docs.oracle.com/javase/specs/jls/
by mzzter 9y ago
How is JavaScript a small language at all? It’s comparable to Java in the number of language features.
Java Reference
https://docs.oracle.com/javase/specs/jls/se7/html/index.html https://docs.oracle.com/javase/specs/jls/se7/html/index.html
JS Reference
https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf https://www.ecma-international.org/publications/files/ECMA-S...
- sametmax 9y agoIt's not even on the same planet. In JS you have a very small number of types, keywords and a ridiculously small stdlib. I'm not sure what to make of your comment.
- tomc1985 9y agoThere is a lot of meta-knowledge buried in using those few features that he is probably referring to. Knowledge of language features is one thing, knowledge of when to use them is another
- sametmax 9y agoThat's true for every language. The only hard part with JS is the accumulation of bad design decision that means you gotta avoid or hack around part of the language. The rest is just a basic dynamic language with some async semantics. Nothing crazy.