Each programming language has its own scope. However, some of them
are used more often than others. We wondered which programming language is the most popular. To do this, we analyzed the statistics of several IT platforms: GitHub, Stack Overflow, HN, Habrahabr, etc.
/ photo Christiaan Colen CCPopularity is estimated by various factors. Here are just some of them:
')
- Mentioned in search queries.
- Mention in discussions on specialized forums.
- The number of vacancies, educational books and courses.
- The number of projects on GitHub and similar platforms.
For example, GitHub published the
rating of the most popular programming languages by the number of pull requests (even the
first pull request from Linus Torvalds was taken into account). In it, with a large margin, JavaScript leads with 2.3 million requests, whereas the following Python has 1 million. Also in the top five are Java, Ruby and PHP.
The popularity of JavaScript can be explained by its versatility. The language is supported by all browsers, they write applications for desktops and mobile platforms. However, users of Habrahabr
noted that the rating is not entirely objective, because many developers in C ++ and other old languages do not translate their projects into GitHub.
Stack Overflow for the ranking
surveyed 64,000 developers. Here, too, JavaScript has become a leader - 61.9% of respondents are programming on it. Following are SQL, Java, C #, Python. However, 72.6% of respondents are engaged in web development, so these results are quite expected.
There are ratings that take into account several parameters to assess popularity. TIOBE
takes into account the number of specialists, training courses, independent suppliers and search queries. The top five here looks different: Java, C, C ++, C #, Python. And just behind them is JavaScript.
The IEEE ranking
takes into account the number of search requests, projects on GitHub, as well as references on Twitter, on Stack Overflow, Reddit, Hacker News, CareerBuilder, Dice and IEEE Xplore. Interestingly, the R language
is in fifth place in it, and JavaScript is in 8th place. The first four positions were taken by C, Java, Python and C ++.
Another interesting point that was established was connected with the salary of programmers. It turned out that more money is received by developers writing in less popular languages. According
to the Stack Overflow
statistics , the highest salaries of the developers for Go, Scala and Objective-C are about 110 thousand dollars a year.
But finding a job related to these PLs is not so easy. The most popular languages, according
to Coding Dojo, are SQL, Java, Python, JavaScript and C ++.
As for Russia, the leading Java programmers earn the most from us. According to 2015
statistics , they receive 155,000 rubles per month.
Stack Overflow also offers some pretty interesting statistics on the most popular programming languages in the evenings. After all, many developers, in addition to the main work, conduct personal projects in their free time. And for them, they do not always use familiar tools. Follow the
link for graphs of the dependence of the intensity of use of programming languages on the time of day
“In what language will you write the next project?”
Three months ago, the Hacker News forum created a
topic with the question "What programming language will you use in the next project?". Discussion has 257 comments. 178 developers answered the question.
We have prepared statistics based on these responses. Leader rating - no surprises - javascript. It says 23% of those who spoke. They also shared preferences about frameworks - most often used are React (63%) and Vue (46%).
But further - more interesting. Leaders of other ratings - Java, C, C ++, C # - are not even included in the top five. Places from second to fifth were taken by Python (13%), Elixir (9%), Go (7%) and PHP (5%).
Closes the top ten C #, Clojure and Lua - they are chosen by 3% of developers. Java and C ++ for their next projects choose 2% of the respondents - as much as Haskell. A language C - 1.5%.
Perhaps such an atypical distribution of answers is caused by the question. When people are asked about their next project, they, firstly, imply personal projects, and, secondly, they only share plans. They want to try something new, learn something, and not write in the same language used in their main work. Another question is whether these plans will be implemented.
We also appreciated the development in which programming languages are most often discussed at Habré. JavaScript is also leading here - the corresponding hub has 110 thousand subscribers and a rating exceeding 280. By the number of subscribers, C ++ and Python (105 thousand subscribers) breathe into its back, but their rating is lower - 165 and 196 respectively.
Upcoming trends
Hi-Tech.Mail.ru
identified 4 programming languages that will gain popularity in the period from 2016 to 2025. They are R, Erlang, Go and Swift.
In turn, TeachBeacon
divided programming languages into three divisions. The first is currently leading Java, Javascript, Python, Ruby, PHP, C #, C ++, and Objective-C. The second division is popular, but still not mainstream programming languages. These include Scala, Go, Swift, Clojure and Haskell. Some of them may soon enter the first division. For example, Swift, which is increasingly being used for development for iOS and macOS.
Finally, there is a third division with rarely used programming languages. The most interesting are the languages that have appeared recently, but are rapidly gaining popularity - Elm, Rust, Kotlin, Crystal and Elixir. They may well get into the second division, and in the future - and into the first. For example, Rust is considered as a replacement for C and C ++.
PS What else do we write in our corporate blog: