Code Pumpkin

Why should we learn JavaScript?

August 14, 2018
Posted by Suyash Purwar

Let's see why should we learn JavaScript? What's so special about it and why people all around the globe are talking about it? Believe me, a web language like JavaScript is like a Batman's utility belt. If you are proficient in JavaScript, then think yourselves as a Superman with Batman's utility belt. JavaScript is the superpowers of a developer. Now without further due, let's dive right into it.

A developer with the knowledge of JavaScript looks like this wink

A developer with the knowledge of JavaScript looks like this

First and foremost, why javaScript ??

JavaScript is both amazing and important because it is the language of the web browser. JavaScript was made to make webpage alive but nowadays it's doing way more than it was made for. The amazing thing about JavaScript is that it is possible to get work done with it without having much knowledge, or even knowing much about programming. Main points that will convince you to dive into JavaScript:

  • It runs on every platform: In the early days of JavaScript, it was used only in the web but nowadays we can use it to create applications for  Android, iOS, Windows and even for Linux platform. Isn't it amazing?
  • JavaScript made it possible to keep the code base almost the same for different platforms. This means that we can build applications for both the iOS and Android platform having the same code base. JavaScript follows the rule of Write Once, Run Everywhere.
  • It is a modern language and evolving very fast: JavaScript was created by Brendan Eich in 1995 when he was working in Netscape. It shipped with ideas like loose typing, dynamic objects, garbage collection, closures, scopes etc. 

    JavaScript also came with some bad decisions but now most of them are solved by ESLint and ES6. JavaScript has evolved rapidly. There are thousands of libraries, frameworks, and plugins out there. JavaScript offers us a lot. We can do almost everything with JavaScript. From web development to machine learning, everything is possible.

    Companies like Facebook, Google are making tons of projects using JavaScript. Angular is a  frontend framework which is written in TypeScript. TypeScript is a transpiler that transpile the code into JavaScript. Angular is made by Google. Facebook has also launched their frontend framework and that is React. React is gaining a lot of attention nowadays. There are tons on projects left to mention.

  • JavaScript is the language for the web: JavaScript, most of the times, is the best option for web programming because of its offerings. JavaScript is the most commonly used language for client-side scripting. There are almost 350, 000 npm packages, every week roughly 160 people publish their first package. This makes the world's largest package registry in the world. JavaScript has become the assembly language for the web.
  • JavaScript's Performace: JavaScript is blazingly fast, making it the fastest dynamic language in the world. Languages themselves are not fast or slow, it depends on the implementation of the code. Google Chrome's V8 engine for JavaScript is one of the fastest engines. We can surely rely on JavaScript in terms of performance. Because of JavaScript's support in different platform, new languages like Dart, Elm, TypeScript etc. choose to transpile their code into JavaScript.

What makes JavaScript Popular?

In order to understand why JavaScript has become popular, we first need to look at what purposes and problems are solved by JavaScript. Before getting started in JavaScript, it is necessary to have a basic understanding of HTML and CSS. 

HTML stands for Hypertext Markup Language, developed by Tim Berners Lee. It is used to make a layout of a website. HTML is used to tell the browser what content is being displayed. HTML is responsible for what is being displayed on a website. CSS stands for Cascading Style Sheets. CSS is just like a makeup kit for HTML. If HTML is the skeleton of your page, CSS is the flash and skin of it. CSS makes a website look pretty and presentable.

Both HTML and CSS are good for building and designing, but they don't make a website interactive. JavaScript makes a web page alive, it allows a webpage to respond to user actions, JavaScript makes it interactive. JavaScript is used for client-side processing. This is why JavaScript is so popular. JavaScript worths learning, it worths your time.

That's all for this topic. If you guys have any suggestions or queries, feel free to drop a comment. We would be happy to add that in our post. You can also contribute your articles by creating contributor account here.

Happy Learning 🙂

If you like the content on CodePumpkin and if you wish to do something for the community and the planet Earth, you can donate to our campaign for planting more trees at CodePumpkin Cauvery Calling Campaign.

We may not get time to plant a tree, but we can definitely donate ₹42 per Tree.

About the Author

A tech guy who loves to code and design edge-cutting websites and mobile apps. I'm open source enthusiast and a delicious coffee maker


Comments and Queries

If you want someone to read your code, please put the code inside <pre><code> and </code></pre> tags. For example:
<pre><code class="java"> 
String foo = "bar";
For more information on supported HTML tags in disqus comment, click here.
Total Posts : 124
follow us in feedly

Like Us On Facebook