Why do many people around me like Python but not JavaScript?

foreword

This answer is not for the purpose of distinguishing between python and JavaScript. I think that each language has its irreplaceable status. Who is better than who is limited to the usage scenario and specific analysis of specific issues.

Current status of programming languages

This is the language popularity in July of this year (the data comes from the TIOBE  programming community index ). In fact, the data of this ranking in each month of this year basically has no major fluctuations (link address: https://hellogithub.com/report/tiobe ), python has always been on the top of the list, and this kind of macro data is also reflected in the question "why people around me like python and not like Js". , to have such a popularity must show that it has its own advantages. Let's analyze why python has the most stable popularity at present.

Let me first talk about some advantages of python compared to JavaScript itself:

First of all, before nodejs came out, js could only be used as the front end. Even with nodejs now, most of the js ecology is still concentrated on the front end. Compared with python, the application area is much narrower. Take data analysis as an example. Many majors may not require very professional python knowledge, but it is very likely that you need to learn data crawling and analysis, etc. In this regard, the first choice must be python rather than JavaScript. This is the impact of python's deep cultivation of data mining .

Secondly, in the current general environment, the employment of python is much better than the front-end direction of js. If you want to perform data analysis, machine learning and mathematics-intensive operations, then the current employment environment of python is still good (this is not easy. The computer programming industry is full of volume, and everything depends on your own strength).

The above mentioned are just some rough analysis of the subject’s problems, not to flatter python. Any language has its own bright areas. The specific choice of language depends on personal career choice and interest. You can take a look at the recruitment situation of the two languages:

Therefore, in fact, the overall salary gap is not big. Of course, these job recruitments have no reference value for novices. The purpose is only to explain that the language is not high or low. At the same time, it needs to be reminded that you need to be cautious when entering the industry. Check whether you are interested in programming before thinking about the following things. I hope it will help you~

Guess you like

Origin blog.csdn.net/soukenan/article/details/131892050