The hottest topic for discussions today. The main reason for it, I guess haters mostly. Yes, JS is a cool programming language, but still, it has a lot of haters that are eager to spoil its name, or created some technology (CoffeeScript for instance) and want to get a market share by spreading out such kind of gossip. Sure thing, it has its negative impact, especially on those people who have just started to bind their life with the IT sphere.
In my point of view, you don’t have to look at all of those things. Look at real demand on the market and you will see how the opinions of “experts” differ from the real state of things. Personally, I’d like to express my own reason why JS is alive and won’t be dying in the nearest future.
1. A vast of projects
The great majority of modern projects are created thanks to JS. And I’m not talking about only the front end. JS was a popular language and considered a “front-end language”, especially enhanced with different libraries and frameworks like Angular, React, and Vue. Node.js became a real game changer in this regard. Using this amazing technology you developers are able to work on the server side of an app or website and that even increased the JS’s positions in the digital realm.
2. Enhanced by other technologies
3. Frameworks and libs
4. Single browser language
It is worth mentioning that even though there will be some language that might replace JS, it will be a total pain to do so because all browsers’ features and functionality is the developer to get along well with JS and any replacement can cause the collapse of established systems.
5. Constant evolution
6. Community support
7. Multiple usage
- Front-end development (Angular, React, Vue)
- Back-end development (Node, Express, Meteor)
- Android/iOS development (React Native, Ionic)
- Machine learning (TensorFlow)
This is just a small token of all the libs and technologies that JS has at its disposal. You can read the full list here.
One of the most obvious threats is that JS is getting more complex. Now it is used absolutely everywhere and that forces it to become more flexible and difficult at the same time. JS has recommended itself as an easy-to-learn language but in the process of evolution, it takes and implements new ideas, approaches, and functionality. All that makes the language harder to understand and use. That, in turn, can create a barrier for newcomers and the lowering of the loyalty of its lovers.
Another threat is the attempts of others to substitute JS with their variants of the language. Indeed, there were several attempts like CoffeeScript and TypeScript. JS is a strong language that develops dynamically, the threat of creating a better language will always exist.
In addition to all of that, we should not forget about robust technology development. Sometimes they move too fast, as for me. Regarding this, I wanted to say that despite constant development JS has fewer and fewer changes. For example, ES6 and current ES differ only a bit. So, in that way, JS has to stay tuned and updated according to the current reality.
One of the most significant threads for JS is considered to be WebAssembly or Wasm. It is a virtual machine that is designed as a portable binary-level compiler that you can use in a browser. Using it allows compiling any language to the binary instruction which is easier for computer systems and programs. In that way, a lot of languages can be deployed for both the front and back sides of apps. The main threat for JS here is that Wasm allows literary compiling of any language for JS to use on the web. Moreover, a lot of developers debate about the speed of Wasm and JS. From my point of view, JS is faster than Wasm as it is the main language for all browsers. As for me, it is not so critical, taking into account the fact that there are numerous technologies and solutions that use JS and that will ensure its dominant position for a long time.
Don't want to miss anything?
Get weekly updates on the newest design stories, case studies and tips right in your mailbox.