I want JS to die.

Vladislav Lipatov
2 min readNov 16, 2023

--

Look at the web today: there are so many options available to web developers. We can create not just static sites, but also develop complex desktop and web applications, servers, mobile applications and many other wonderful things using everyone’s favorite JavaScript. The amount of JS code is growing, the complexity of projects is increasing, so supporting large projects with a large number of developers and ensuring proper reliability is becoming increasingly difficult using JS alone.

Since JS doesn’t offer the ability to validate types, we’ve come up with a huge number of tools to write reliable and secure code, from simple annotations (JSDoc) to specialized programming languages that can be compiled into our wonderful JS to run in a huge number of environments. For example, TS, as well as various functional dialects of TS (a large list can be found here), functional languages that can compile to JS: OCaml, ClojureScript, ReasonML, Rescript, Elm, Elixir, Scala and so on…

Over time, browser APIs are multiplying and developing, offering more and more opportunities for developing applications using JS. In other words, the web is becoming more complex on the one hand and more accessible on the other.

Think about how much time and effort has been spent developing tools that allow you to transform “something” into JS. Now imagine that we don’t need to compile anything. Imagine that we have a functional language that can be executed natively by the browser? Just imagine how many human resources we can save by using a real functional language instead of JS!

JS was invented a long time ago and not at all for what it is used for now. Yes, it has become better and richer, but now we need more, and unfortunately it cannot meet all the requirements.

My cry from the heart: I want to write high-quality type-safe functional code that runs natively in the browser. Yes, I want it to be simple: you write code, and it works right away. I want people to spend time on family, on hobbies, on friends, on books, instead of poring over setting up compilers or inventing the next JS conversion tool.

Time passes, technology changes, this is normal. I think now is the time to think about a new language that can take the best of JS and offer many more features that are so needed in our time.

I want JS to die… and was reborn into something beautiful.

--

--