Recent data by the creators of the PYPL PopularitY of Programming Language index, or simply PYPL, shows that the title of the ‘most popular’ programming language is firmly held by Python, with Java and JavaScript trailing behind.
There is no single way to determine which programming language is the most popular. Unlike others, PYPL looks at a very particular indicator: online searches for tutorials related to a specific language. The logic encourages trusting the collective wisdom.
“The more a language tutorial is searched, the more popular the language is assumed to be. It is a leading indicator. The raw data comes from Google Trends,” claim the authors of the PYPL index.
Most recent data show Python remains king, holding a strong lead against its competitors. Data gathered by the PYPL index shows that almost a third of all tutorial searches, 30.17%, were for how to learn to program in Python.
Java was second with 17.18%, followed by JavaScript with 8.21%. Behind the top 3, we see C# with 6.76% and C/C++ in a close fifth place with 6.71%. The PYPL index shows that the PHP programming language was in sixth place with 6.13%.
According to the index, Java’s share shrank by 1.2% compared to the same period last year, the most of any of the 28 programming languages included in the PYPL index. On the other hand, C/C++ grew by 0.8%, which was the most of all the programming languages.
- Python 30.17%
- Java 17.18%
- JavaScript 8.21%
- C# 6.76%
- C/C++ 6.71%
- PHP 6.13%
- R 3.81%
- Objective-C 3.65%
- Swift 1.82%
- Matlab 1.80%
A few days ago, RedMonk’s programming language ranking announced that JavaScript was the most popular programming language. Last month TIOBE announced that C is the most popular programming language, proving that it’s rather challenging to say which of the many languages is the most popular.
The PYPL index’s creators claim that other rankings lag behind data as some of them count the number of web pages that include the name of the language.
“Objective-c programming has over 20 million pages on the web, while C programming has only 11 million. This explains why Objective-C has a high TIOBE ranking. But who is reading those Objective-C web pages? Hardly anyone, according to Google Trends data,” states the FAQ section of the PYPL index.
Authors of the index claim that using Google Trends with the keyword “tutorial” even allows for the differences that appear due to different language names.
For example, merely searching for the word “Python” would lead to inconsistent results as the word has many meanings. Using the word “programming” might skew the results as PHP does not require the added word, whereas C does.
“We first calculate the interest of each language tutorial relative to Java tutorials every month. Normalizing the total to 100% yields the share of interest in each language, i.e., their popularity, which we smooth over 6 months,” the authors explain.