Hacker News new | ask | show | jobs
by harel 2950 days ago
No. Quite awake actually. JavaScript opens up a world of possibilities you cannot do with just HTML. It's the current platform of the browser app. If you are happy with static websites, that's great. Most people are not.
1 comments

I mean... you could replace javascript with any other programming language and achieve the same thing. The choice of javascript as the language with which to access the standardized APIs is arbitrary. Browsers could have equivalently chosen any other sufficiently similar language, like Lua or Python.
You can still do that. There are many languages that compile to Javascript though I never saw the point in those (mostly because I'm very comfortable with JavaScript as a language)
If it wasn't because of Java the browsers language would be Scheme
> the browsers language would be Scheme

And the world would be 10000 times better off for it.

wounder if people would still complain
Of course they would. About the same things, in the same way.