Microsoft's C# Programming Language Chosen Most Popular
The contest was based on the growth in the number of searches from the previous year.
Microsoft's chief .NET Framework language won a beauty contest. What that means, if anything, is another matter.
In terms of growth, C# surpassed all other programming languages in a popularity contest called the PopularitY of Programming Language (PYPL) index, based on Google Trends data from 2012.
The PYPL, created by Pierre Carbonnelle, measures popularity by the number of Google searches for tutorials in the respective languages.
While Carbonnelle crowned C# as the 2012 king, this coronation was based on the growth in the number of searches from the previous year. In terms of the overall number of searches, Java comes in at No. 1, with about 31 percent of the overall share of searches, followed by PHP (15 percent), and C++ and C# (basically tied at about 10 percent).
In these overall terms, the top 10 languages were reported as:
- Visual Basic
However, C# earned its election as programming language of the year due to its 1.8 percent growth during 2012, edging out C++ (1.1 percent) and Python (0.8 percent). This growth propelled it from No. 6 in 2011 to No. 4 last year. PHP reported the biggest decline in search percentage, at -1.8 percent.
Carbonelle, who blogs about Python, noted that his favorite language had the biggest increase in search share for the past five years. He also took some pot-shots at the more well-known TIOBE Programming Community Index, which for the second year running awarded the "programming language award" to Objective-C.
The TIOBE index, updated monthly, is based on market share rankings using data such as the number of skilled engineers using the language worldwide, number of courses offering it and number of third-party vendors offering it, collected from search data from Google, Bing, Yahoo, Wikipedia, Amazon, YouTube and Baidu.
Carbonelle said the TIOBE index is a "lagging indicator" while the PYPL is a "leading indicator."
TIOBE "counts the number of Web pages with the language name," Carbonelle said. "Objective-C programming has over 28 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."
Objective-C won the TIOBE award because it had the highest reported growth, at 3.37 percent, which moved it up from No. 5 in overall 2011 rankings to No. 3 for 2012. C++ came in at No. 2 with 1.09 percent growth from 2011 to 2012, followed by Python at 0.96 percent.
The TIOBE Programming Community Index for January 2013 lists overall language popularity thusly:
- (Visual) Basic
At his PYPL site, Carbonelle provides tools for readers to conduct their own research, such as analyzing language popularity for different countries.
David Ramel is the editor of Visual Studio Magazine.