Home > Web Front-end > JS Tutorial > 7 reasons why every programmer must learn JavaScript

7 reasons why every programmer must learn JavaScript

黄舟
Release: 2017-03-11 14:57:15
Original
1175 people have browsed it

7 reasons why every programmer must learn JavaScript

I was recently communicating with a hiring manager about how difficult it is to find a good programmer At that time, I gradually realized that the current programming language is more and more focused on JavaScript. This is especially true for web developers. So, if you are a programmer, then you should learn JavaScript.

Requirements

The main reason why I say this is that as JavaScript matures and Node.js solutions become more and more feasible , our demand for JavaScript programmers continues to grow. JavaScript has surpassed C# in terms of demand ratio, ranking only behind Java. If you look at the live projects on GitHub, you'll see that JavaScript is appearing more and more, even ahead of Java and C#. Finally, looking at StackOverflow, you will find that JavaScript is also active at the top level.

Better Salary

According to SitePoint, JavaScript salaries are higher than C#. Of course, although the current salary of Java is still a little higher than that of JavaScript. But as the demand for JavaScript grows, you can expect that its pay will definitely increase.

At Gooroo, the picture about salary vs. demand presents a slightly different picture. While our need for JavaScript is clear, it's clear that several languages ​​with less demand pay better. I suspect this is because many companies still think of JavaScript as a language that any programmer can use. However, when they realized that "any programmer knows JavaScript" actually means "any programmer can only write crappy JavaScript code", it was also when they experienced a painful lesson. It then takes real JavaScript programmers to step in and clean up the mess left behind.

At StackOverflow, we saw a very detailed classification of developers in the past three years. When you finally get to the "Technologies Used" section, we find that if you call yourself a JavaScript programmer (assuming you're on the client side), you'll be paid less than a C# programmer, but you'll be paid less than a Java programmer. Be a good programmer, but if you say you are a Node.js programmer (all JavaScript), you can get the second highest salary. The only thing higher than Node.js is Objective-C (and I assume in the future, Swift).

JavaScript is maturing

New JavaScript standards are released every year, and it is now obvious that the amount of syntactic sugar being added to JavaScript is increasing every year. One of the features I'm looking forward to is being able to use the async and await keywords in my JavaScript code to eliminate callback hell.

The earlier you start learning JavaScript, the easier it will be. All changes are gradual, as browsers continue to improve their ability to handle JavaScript code. It is foreseeable that in the near future, browsers will 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 a member of their group (about 20 programs Programmer) is the only programmer to write JavaScript in such a way to eliminate variables from polluting the global scope. This is just the simplest example. Many people call themselves JavaScript programmers but don't know these basics. So, JavaScript has a lot to offer.

And don’t forget that many of the 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 market yourself better in the future.

If you are interested in this kind of thing, you can read some courses on PluralSight. Just search for "JavaScript profiling".

Improved framework

A new version of Angular is under development, and Aurelia is also a candidate. Commercial products such as Scencha's EXTjs. There is also Node.js for server-side programming. Etc., etc. Developing actual applications in JavaScript is not too difficult. I guarantee that if I wanted to, I could write a working desktop application using just JavaScript. hey-hey.

JavaScript is Everywhere

JavaScript runs on all major browsers on all major platforms and on the server side of every major operating system. Nowadays, when we write any major function for the website, we need developers who know how to write the front-end in JavaScript. It doesn't matter what the backend code is written in - whether it's Java, PHP, .NET, Node.js, or something else - but the client side does require a JavaScript developer. In fact, many developers still don't realize how powerful JavaScript is. I don’t know if you who are reading this are one of these frogs in the well. If you are really a great JavaScript programmer, then basically any job related to server-side platforms is within your reach. If you know more about these platforms, you can basically take up the job.

JavaScript is a compiled language

This may shock you, but technically speaking, JavaScript is a compiled language. This has two meanings. First, once the code is compiled, it may run as fast as any other executable file. Second, writing tools for JavaScript is technically feasible and will create a binary that doesn't have to be recompiled every time code is loaded into memory.

The above is the detailed content of 7 reasons why every programmer must learn JavaScript. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template