The Future.. Is JavaScript?

March 10, 2021, 4:58 p.m.
JavaScript · 3 min read
The Future.. Is JavaScript?

When you’re new to something, you usually search for definitions and end up in Wikipedia. In JavaScript case, you might end up with more questions than you came in with...! Because it is the language of many.. many things.

Beyond doubt, even for experienced developers, it’s nice to stop for a second and remember what are the tools you’re using and why you’re using them.

Today, the most popular and used programming language is JavaScript, according to the 2020 StackOverflow developer insights, it is the crown jewel when it comes to programming language popularity because of its performance and omnipresence.

In fact, Most of the functions and applications that make the Internet indispensable to modern life are coded in some form of JavaScript.

Javascript snippet to add event handlers

let divTag = document.querySelector('div')

divTag.addEventListener('click', (event) => {
if('del-btn') {

It is true that the primary use of JavaScript might still be for frontend web development but now  it’s doing so much more than that thanks to the arrival of Node.js, this JS runtime is a popular tool to power web servers. This means that JS developers can use Node.js to write both client-side and server-side code in JavaScript, without relying on external web servers.

Moreover, back in time, you would need other languages to develop great mobile applications, like Objective-C for iOS or Java for Android. It’s now much easier than ever using JavaScript to connect to mobile APIs though. This means that you can use mobile devices features, such as the localization or camera to build JS-powered apps...

Once again, this opened mobile app development to a more significant number of developers who no longer need to learn a new language to start their career.. it can simply  do anything.

As a matter of fact, choosing it as your primary programming language leaves you open to switch to whichever platform :

  •  Front end (Browsers).
  •  Back-end (Node, Deno).
  •  Android/iOS (React Native, NativeScript...).
  •  Desktop (Electron).
  •  Hybrid (Ionic).

React initiate state without props

class App extends React.Component {
  state = {
    empty_arr_state: [],
    empty_str_state: ""

As we can see, JavaScript always makes it come to life! It helps get things done by letting the developer focus on solving the problem and let developers use a mix of plugins and their own code snippets to get an application working. Furthermore, it has the potential to tap into so many popular industries like Machine Learning and Data Analysis, where Python still rules the game. It's even happening now with tools like Tensorflow.js!

We can't forget about its package managers that are simple to use and intuitive which makes it easier to share code between developers. In other words, using a package in a project gives us some advantages like faster development, access to new, regular updates, and better security than custom, it is extremely useful as they are tools that automatically handle the dependencies of the project.

It is safe to say now that JavaScript is here to stay, and rule the industry this decade thanks to its flexibility and dynamicity, and at this time, its hard to beat.

Post a Comment
Join the community

Pranathi June 10, 2021, 6:09 a.m.

Now these tips are something worth implementing in my daily practice. I look forward to more such tips from you. You can check out my blog <a href=””> App Development</a>.

Written By

Full Stack Developer & a writer.