If you’re considering learning how to code, you have probably been wondering what programming language you should start with. And that’s a great question, because choosing your first programming language will definitely have consequences in terms of what kind of projects you are going to be able to build and what companies you might work in one day.
That’s why we chose to make a comparison between JavaScript and Ruby, which are both good languages to start learning how to code. Both have advantages and disadvantages, and it often depends on what your goals are.
Let’s dive in!
On the other hand, JavaScript has a lot of curly braces and other “weird” punctuation which might seem a bit off-putting for beginners. It also has multiple ways of achieving a result. It’s true it can sometimes be harder when you have a choice in how to achieve something: just like in cooking where it’s easier to follow a rigorous recipe than to actually cook by choosing the ingredients yourself.
Well, Ruby is indeed an easy first step to learn how to code. But learning how to code is rarely the end-result you are seeking. There’s probably a reason why you want to learn to code, usually building projects, landing a job in tech, or interacting better with developers.
And it turns out that, since its beginnings in 1995, JavaScript has evolved into quite a sophisticated and powerful language.
One of the biggest changes in JavaScript’s evolution is the creation of Node.js which has transformed it into a front-end AND back-end language. That means that you can actually build a full-stack Web application using only ONE language. React (released by Facebook in 2011) is another framework that has made JavaScript more powerful on the front-end side of Web applications.
Turns out React and Node.js are the top 2 “most wanted” technologies by developers according to Stack Overflow’s 2018 survey, meaning these are the frameworks most current developers want to learn. As far as programming languages go, JavaScript is #2 in the “most wanted” list (at 19%), right behind Python (at 25.1%) which we teach in our Data Analytics course, while Ruby sits at the 16th position at 5.7%.
https://codeburst.io/javascript-vs-ruby-vs-python-which-is-the-best-language-for-your-startup-e072b14bebc7
All in all, the fact that JavaScript can be used to build a full-stack application and that it is a lot faster than Ruby has turned it into the more popular language. Uber, Paypal, LinkedIn are some examples of companies who have switched from Ruby to JavaScript in recent years.
A direct consequence is that there are a lot more Web development jobs for JavaScript than there are for Ruby. If you check Indeed.com, you’ll see 8000+ jobs recruiting JavaScript developers in Paris, whereas only 600+ for Ruby. If your aim is to land a job in tech, there is no question: you should choose JavaScript over Ruby.
If you want to launch a Minimum Viable Product (MVP) for your future billion-dollar startup, then maybe Ruby is the way to go because you’ll spend a less time learning and a more time building. Though you should consider the fact that you will probably have to switch to another language if you are indeed successful!
Here at Ironhack we adapt as quickly as we can to the market requirements, so we have chosen to teach JavaScript and React in our Web Development Bootcamp, for now…
And that’s also why we teach Python in our Data Analytics Bootcamp, as Python is #1 for any data-related jobs.
If you want to learn more about our bootcamps, feel free to check our website!
Follow the steps of more than a thousand career changers and entrepreneurs that launched their careers in the tech industry with Ironhack's bootcamps.