2 ms·
All of which are going to be mediocre because JavaScript is a very hard language to simply reason about for machines.
by kaendfinger 11y ago
All of which are going to be mediocre because JavaScript is a very hard language to simply reason about for machines.
- jsprogrammer 11y agoThe language is not fixed, further, tools do not need to support every feature.
- kaendfinger 11y agoHere's the thing, JavaScript as it is (specifically ES5, a little bit less so with ES6, but even then, still an issue) is too dynamic to reason about very well, especially when using large libraries that do crazy things. Yes, it can be changed to be easier to reason about, but the fundamental issue I see is that too many people are using the very dynamic features of JavaScript.
- derefr 11y agoJavascript could be versioned. If Javascript is changed to be more static and less "forgiving", browsers could ship with one engine to run legacy ES6 code and another to run new code.