Recently, when I was talking to the hiring manager how difficult it is to find a good programmer, I gradually realized that programming languages are becoming more and more focused on JavaScript. This is especially true for web developers. So, if you are a programmer, then you should learn JavaScript.
need
The main reason I say this is that our demand for JavaScript programmers is growing as JavaScript matures and the Node.js solution becomes more feasible. JavaScript has surpassed C# in terms of demand ratio and has only fallen below Java. If you look at the viable projects on GitHub, you will find that JavaScript is coming more and more, even ahead of Java and C#. Finally, look at StackOverflow and you will find that JavaScript is also active at the top level.
Better salary
According to SitePoint, JavaScript pays more than C#. Of course, although Java's salary is still a little higher than JavaScript now. But as JavaScript demand grows, you can expect its compensation will certainly increase.
At Gooroo, the picture presented about salary vs. demand is slightly different. Although our demand for JavaScript is obvious, it is obvious that several languages with smaller demands are more paid. I suspect this is because many companies still think that JavaScript is the language that any programmer will use. However, when they realize that "any programmer can do JavaScript" is actually "any programmer can only write crappy JavaScript code", it is also the time when they have experienced a painful lesson. Then a real JavaScript programmer needs to get into the cleanup of the mess left behind.
At StackOverflow, we see a very detailed account of the classification of developers over the past three years. When you finally see the "Techniques Used" section, we find that if you call yourself a JavaScript programmer (assuming it is on the client side), you will be paid less than a C# programmer, but if you say you are a Node.js programmer (all JavaScript), you will get the second highest salary. The only thing higher than Node.js is Objective-C (I assume it will be, Swift in the future).
JavaScript is becoming more mature
The new JavaScript standard is released every year, and it is now clear that the number of Syntactic Sugars added to JavaScript is increasing every year. One of the features I'm looking forward to is to be able to use async and await keywords in my JavaScript code to eliminate callback hell.
The earlier you start learning JavaScript, the easier it is to learn. All changes are gradual, just like browsers are constantly improving their ability to process JavaScript code. It can be foreseen that in the near future, browsers can not only cache JavaScript files, but also cache compiled versions of JavaScript files.
JavaScript programmers can be entrusted with important tasks
About a year ago, when I was chatting with an old friend of mine, he mentioned that he was the only programmer in their group (about 20 programmers) to write JavaScript in this way to eliminate the pollution of variables on the global scope. This is just the simplest example. Many people call themselves JavaScript programmers, but don't know these basic knowledge. Therefore, JavaScript has great potential.
And don't forget that many tools that support performance analysis and memory leaks are just in their infancy. If you master these skills now, you will definitely be able to sell yourself better in the future.
If you are interested in this type of stuff, you can read some courses on PluralSight. Just search for "JavaScript profiling".
An increasingly perfect framework
A new version of Angular is under development, and Aurelia is also available as a candidate. Commercial products such as Scencha's EXTjs. There is also Node.js for server-side programming. Wait and wait. It is not too difficult to develop practical applications in JavaScript. I can guarantee that if I want, I can write a desktop application that can run only in JavaScript. hey-hey.
JavaScript is everywhere
JavaScript can be run on all mainstream browsers on all major platforms, or on the server side of every mainstream operating system. Nowadays, when we write any major function for our website, we need developers who know how to write front-end in JavaScript. It doesn't matter what the backend code is written in - whether it is Java, PHP, .NET, Node.js or others - but the client must need a JavaScript developer. In fact, many developers still don't realize how powerful JavaScript is. I don’t know if you are reading this as a member of these frogs in the well. If you are indeed an amazing JavaScript programmer, basically everything you have to do with the server-side platform. If you understand these platforms again, you can basically take office.
JavaScript is a compiled language
This may scare you, and technically, JavaScript is a compiled language. This has two meanings. First, once the code is compiled, it may run at a speed comparable to any other executable file. Second, writing tools for JavaScript are technically feasible and will create a binary file that does not have to be recompiled every time the code is loaded into memory.
what do you think?
Of course, the above are all my views. Do you have any thoughts? Welcome to give me advice.
Original English: 7 Reasons Every Programmer Needs to Learn JavaScript
Translator: Xiaofeng, Coding Network