Well yeah, that'd be great. But the unfortunate reality is Javascript is the lingua franca of the web and we have to make due until there's a reasonable alternative.
Furthmore, it's not even JS that's really the problem. It's the entire JS/DOM/CSS stack.
Re:The State of JavaScript – Survey results
by fail2fail2ban on Monday October 03, 2016 @05:45PM
(#12631602)
I like the DOM, basic CSS is fine. The twisted stuff some people do with CSS I'm not fine with but yeah I know. JS isn't going away, what irks me the most is the naivety around trying to push it to the backend. It doesn't belong in the backend when the frontend story is so messed up.
Re:The State of JavaScript – Survey results
by bschwindHN on Monday October 03, 2016 @11:44PM
(#12633184)
Backend JS is not perfect by any stretch of the imagination, but if you limit yourself to plain data and functions and write simple code, it can really work nicely for getting stuff done and iterating on an idea.
Replace JavaScript with Java in all browsers and make it much easier, dependable, predictable and reliable.