Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's definitely one of the main original use cases, but it would have been a bad decision to base the entire language around the limitations of HTML, and I doubt JavaScript today would be the most popular programming language today if they had. You can read the original ECMAScript 1 standard here, which is titled: "A general purpose, cross-platform programming language"[1].

https://ecma-international.org/wp-content/uploads/ECMA-262_1...



I think a lot of people dislike that JavaScript is a general purpose programming language, rather than being a scripting engine for browsers.


A lot of people dislike any tool that actually has wide spread usage. No one complains about tools that have been abandoned.


"There are only two kinds of languages: the ones people complain about and the ones nobody uses." - Bjarne Stroustrop




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: