Achmad Kurnianto
Achmad Kurnianto

Achmad Kurnianto

Why You Should Learn JavaScript Programming Language

Photo by Gabriel Heinzer on Unsplash

Why You Should Learn JavaScript Programming Language

Achmad Kurnianto's photo
Achmad Kurnianto
·Jun 8, 2022·

3 min read

Play this article

Table of contents

  • Flashback into the beginning of JavaScript
  • JS is the most commonly used programming language
  • The Versatility Aspect of JS
  • Provide rich features for web
  • References

Flashback into the beginning of JavaScript

In the year 1995, a programmer at Netscape named Brandan Eich invented a scripting language initially called Mocha in just 10 days. After that, Mocha then becomes LiveScript. Because that year Java programming language was prevalent, it was decided to replace LiveScript with JavaScript as the "younger brother" of Java.

Now JavaScript has improved related to its first release. Without further ado, let's take a look at why JavaScript programming language (JS for short) is important to learn and then involved with it.

JS is the most commonly used programming language

Photo by Product School on Unsplash

Photo by Product School on Unsplash

According to Stack Overflow Developer Survey 2021, JS gets the first programming language which commonly used in 9 years consecutively. Although that survey doesn't describe why most developers use JS, at least it informs us that JS has been used by survey participants.

In my opinion, the reason why JS has been commonly used is its easiness, clear documentation, broad development targets, and community support. It also has enormous open source contributors to create libraries or frameworks written with JS.

The Versatility Aspect of JS

nick-fewings-C2zhShTnl5I-unsplash.jpg

Photo by Nick Fewings on Unsplash

When JS release for the first time, it was only used in the Netscape internet browser, then Internet Explorer (IE), Mozilla, Google Chrome, Opera, and other internet browsers follows. JS libraries and frameworks before the birth of Node.js like jQuery, angular js, etc have been used by front-end developers.

After the initial release of Node.js in 2009, it's possible to build a backend application written in JS. JS has additional developers who use libraries and frameworks for Node.js like express js, koa js, adonis js, hapi, restify, etc. The popular terms of full-stack development with JS like ME(A/R/V)N (MongoDB, Expressjs, Angular/ React/ Vue, Node.js) make developers able to create both frontend and backend applications with JS only.

Provide rich features for web

ben-kolde-Ajcipx1VDXI-unsplash.jpg

Photo by Ben Kolde on Unsplash

Let's imagine when we want to open an e-commerce website in the old days. Your device has to connect to the internet to access that website. You have also to open your email to check notifications on the website, and then back to the website again to follow up on the notification. You may be thinking to use the mobile app version of that e-commerce website which provides push notifications, safe payments, offline support, etc.

Now JS provides API to use an offline-first approach, so you can access it when your device is not connected to the internet*. It also provides an API to register push notifications in both foreground and background states. Even JS provides API to prioritize contents based on your network quality. There are also provide more features which you can see at whatwebcando.today. It seems like the web version of e-commerce is the same as the mobile app, right?

* Offline-first approach can be achieved if you previously access the website before and navigate to several pages in it.

That's all from me for now. I'd like to hear your opinion about the reasons why you should learn the JavaScript Programming Language.

References

  1. Article with the title Advantage and Disadvantages of JavaScript both from FreeCodeCamp and GeeksforGeeks
  2. Stack Overflow Developer Survey 2021
  3. An Introduction to JavaScript
  4. The history of JavaScript: Everything You Need to Know
  5. JavaScript History
  6. A Brief History of Node.js
  7. Articles inside web.dev like Progressive Web App and Adaptive Serving Based On Network Quality
  8. What Web Can Do Today?
 
Share this