| Why is it apparently perceived as a "dayfly development language"?
JS has an ISO standard like C and SQL. Yet, only C, SQL, Lisp and the SDL API are recommended[1] for the long run (>= 20 years). So why can't I expect a JavaScript program with HTML5, CSS3 and Vue.js to last me for at least 20 years much like C89 and SDL? What's the issue here? I don't get it, since JS, HTML and CSS are standardized (like Lisp, C and SQL). Relevant discussion keywords: Web Assembly Reference: 1. I cannot find the URL anymore, but this blog had Jonathan's article linked: https://jonathanwhiting.com/writing/blog/games_in_c/ Anyhow, the gist was: use C and SDL to make your programs future proof. 2. There was also a website article suggesting that you should stay away from JavaScript if you want to have long-lasting websites. Instead, it suggested that you should stick with HTML and CSS. I cannot also find the link to this anymore, but it was linked on HN. 3. https://www.johndcook.com/blog/2017/08/19/programming-language-life-expectancy/ 4. http://www.bricklin.com/200yearsoftware.htm 5. https://softwareengineering.stackexchange.com/questions/333487/developing-web-applications-for-long-lifespan-20-years 6. https://news.ycombinator.com/item?id=22042186 |
- It's not owned by a single company who can kill it
- It has evolved (a lot) over time while maintaining backward compatibility
- It has caught up with compile to JS languages that gained traction (coffee script)
- It has only gained traction over time (now it's on the server, it's on mobile, it's everywhere)
- It might not be as old as C, but it's quite old
- Typescript, the most popular compile to JS language atm only adds types, the big claim is "All valid JavaScript code is also TypeScript code." so can we really claim it's not JS?
- There is a huge amount of code in JS, many apps and a big percentage of website run on JS. It will take decades to move all of that to something else, meaning support will exist even if something else comes along.
- Everyone has been hating on it for two decades and it's still going strong haha.
Frameworks and libraries will change, (build) tools will change, JS will evolve, compile to JS languages will change, new languages will pop up, but JS will not go anywhere for a long long time.