Member-only story
Is JavaScript Dead? Will it ever die?
Can any language replace it or make it obsolete? Let’s find out.
If you’re a non-premium user, click here to read this article for free. If not, continue reading.
JavaScript will never die. It is a crucial component of the browser and other applications, including AI. If someone or the Web Browsers decide to adopt something else, it won’t be feasible for them because of specific guidelines, which will break the entire Internet.
It would create the same situation that ECMAScript developers faced when people criticized JS and its design. However, they could not change the design as it was not feasible for them to alter the fundamentals of the language. There’s a reason for allowing var to stay in the language with its nerve-racking problems.
Developers will use JS with a combination of frameworks, like React or Angular (with TS), to overcome its strange problems, like synchronous behaviours, type checking, and dynamic typing, and because of the massive frameworks, the deep-rooted relationship with browsers, and old applications on the Web, JavaScript never tends to die and only advances.
WebAssembly could give competition, and I will talk about that. However, since we cannot replace those quirks by modifying the fundamental design of…