The case for JavaScript
Find curly braces insufferable? Does hoisting make you want to hoist yourself on a noose? Deathly allergic to closures? Well, here are some good reasons to suffer through the aforementioned quirks of JavaScript.
“JavaScript everywhere”
JavaScript has been the choice language for frontend development for a while now. Why? Well, for starters there’s a large array of JavaScript libraries and frameworks that can be used to build user interfaces. JavaScript also lets you make your website more dynamic by letting you use changing sets of data without reloading the page.
Now, the rise of Node.JS has lead to the “JavaScript everywhere” movement. What exactly is it? It is a unification movement in web app development with JavaScript at its centerpiece. This means one single base language for the entire application! The frontend and backend can all be developed via JavaScript!
Get Sho Miyata’s stories in your inbox
Join Medium for free to get updates from this writer.
To get more specific, let’s take a look at a few of these libraries and frameworks.
- React — maintained by Facebook, used to create user interfaces. It is (arguably) the most popular of the frontend frameworks, and has the biggest community and resources for when you need help.
- AngularJS — built and run by Google, and known to be quite complex and relatively difficult to learn. Despite this, many big companies use it as it is very scalable and open-source.
- Vue.js— created by an ex-Googler who worked on AngularJS. He took all of his favorite parts from Angular and created a lightweight framework. It has an extremely high satisfaction rating on Github, and is known to be easy to learn. Unfortunately, not many companies use it so you probably won’t get a job out of it.
- Node.js—although JavaScript is known more for frontend, Node.js is a backend framework which is increasingly gaining popularity. It has the ubiquitous CRUD functionality, letting you create, read, write, and delete files on the server, and add, modify, and delete data in the database. It can also collect form data. Although some may argue that Node.js just isn’t powerful enough, these corporate giant users of Node.js say otherwise: Microsoft, IBM, Netflix, Cisco, Uber, Paypal, and more.
JavaScript is popular, and only getting more popular
According to PYPL PopularitY of Programming Language Index, which analyzes “how often language tutorials are searched on Google”, JavaScript comes in at 5th place, with 8% share of the market and a positive trend percentile. Ruby, on the other hand, only has 1.8% of jobs and a negative trend percentile.
Okay fine, you don’t believe in basing language popularity on Google search volume. Fair. Then how about language popularity based on github repositories? (One thing though, this data is from 2014.) Here are the stats, taken from github info.
Here’s some data from 2016.
Lastly, let’s bring this back to reality. Let’s take a look at job demand. These figures are based on an analysis of Indeed’s job listings (which, by the way, is the world’s biggest job listing site). JavaScript comes in at #4, and Ruby does not even make the chart as it came in at #17. Ouch.









