4 ms·
I haven't looked at ES6/7, and its true that any language in the wrong hands can be ugly. But there's a lot wrong with JS besides how it interfaces with the DOM
by js-fiend 10y ago
I haven't looked at ES6/7, and its true that any language in the wrong hands can be ugly. But there's a lot wrong with JS besides how it interfaces with the DOM[1]. Which is funny because it was originally conceived as a browser scripting language[2].
And JS beating flash and java applets may be more a result of market forces (Apple) and the lack of better alternatives.
Brendan Eich designed JS in 10 days for the early era of the web, which is very different today. Its both a testament to the language and the hacks on top of it that its stayed in use this long. But maybe its time to move on?
[1] https://medium.com/javascript-non-grata/javascript-is-a-dysfunctional-programming-language-a1f4866e186f https://medium.com/javascript-non-grata/javascript-is-a-dysf...
[2] https://en.wikipedia.org/wiki/JavaScript#Beginnings_at_Netscape https://en.wikipedia.org/wiki/JavaScript#Beginnings_at_Netsc...
- graphememes 10y agoWhy do you believe the language is dysfunctional?