TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What is going on with measures of programming language popularity?

112 pointsby trapatsasover 6 years ago

24 comments

dzdtover 6 years ago
The article omits the Redmonk ranking [1], which is imho much better than TIOBE. The Redmonk approach uses github and stackexchange as complementary data sources, and shows a two dimensional main result.<p>The top 20 in the Redmonk ranking are<p><pre><code> 1 JavaScript 2 Java 3 Python 4 PHP 5 C# 6 C++ 7 CSS 8 Ruby 9 C 9 Objective-C 11 Swift 12 Scala 12 Shell 14 Go 14 R 16 TypeScript 17 PowerShell 18 Perl 19 Haskell 20 Lua </code></pre> Considering how different languages occupy different niches, the relative ranking withing niches seems reasonable. And ranking across niches scales according to size of the niche.<p>Client-side web scripting is a huge niche, hence javascript is in the top spot. General purpose desktop&#x2F;server applications are another huge niche, served by Java, C#, C++, C, Scala, Go (in that order). And so on.<p>It seems pretty sane, and the results have been stable enough to interpret the rise of upcoming languages and see the resilience of top contenders.<p>[1] <a href="https:&#x2F;&#x2F;redmonk.com&#x2F;sogrady&#x2F;2018&#x2F;08&#x2F;10&#x2F;language-rankings-6-18&#x2F;" rel="nofollow">https:&#x2F;&#x2F;redmonk.com&#x2F;sogrady&#x2F;2018&#x2F;08&#x2F;10&#x2F;language-rankings-6-1...</a>
评论 #18116023 未加载
评论 #18116347 未加载
评论 #18119221 未加载
评论 #18115795 未加载
评论 #18115665 未加载
munificentover 6 years ago
The TIOBE index is hot garbage, and always has been.<p>Even so, this article is also pretty bad. Nowhere does the author define what he means by &quot;popularity&quot;, which is one of the key problems all of these popularity contests suffer.<p>If we say &quot;Language X is more popular than language Y?&quot; What does that <i>mean?</i> Answers could be any of:<p>* Total extant corpus of X is larger than Y.<p>* Number of people who know X is larger than Y.<p>* Amount of open source code in X is greater than Y.<p>* Number of people currently writing X (how much?) is greater than Y.<p>* Number of people who want to be writing X is greater than Y.<p>* Number of jobs available for writing X is greater than Y.<p>* Number of people talking about X is greater than Y.<p>These are all <i>wildly</i> different metrics but all have reasonable claims to represent &quot;popularity&quot; and&#x2F;or are what some of these rankings claim to show.<p>To do anything useful, you really need to know what problem the reader is trying to solve and pick a metric that helps that problem. Is the reader trying to decide what language to learn to find a job today? To get ahead of the curve and be an expert in five years? To discover a new exciting language? To choose a language to use for a large, conservative project? A small ambitious one?
评论 #18118011 未加载
评论 #18116869 未加载
评论 #18121742 未加载
yen223over 6 years ago
What&#x27;s going on is that there are many equally-valid definitions of &quot;popularity&quot;. Do you mean number of developers who&#x27;s heard of a language? Who <i>uses</i> a language? Who <i>likes</i> a language? Or do you mean a language that&#x27;s most widely deployed, for some definition of deployed?<p>The question you need to ask is what decision is going to be impacted as the result of knowing the &quot;popularity&quot; of some language. The answer to that question will guide you towards the right metric you should be looking at.
评论 #18113398 未加载
评论 #18116588 未加载
thebooglebooskiover 6 years ago
I don&#x27;t really understand how you can measure popularity without doing a census-like survey, reaching out to every developer possible in a coordinated effort.<p>Awhile back, I took a statistics class that explained how polling everyone by calling everyone with a phone landline resulted in a misrepresented sample.<p>The reason: not everyone has a phone landline. And those with phone landlines had a tendency to belong to specific demographics.<p>So...if you survey everyone using Github, and not every developer uses Github, are you not prone to the same fallacy?
评论 #18117037 未加载
observr9over 6 years ago
How about available jobs? I suspect a lot of people are trying to determine which language to invest their time in learning.<p>Another relevant measure would be ALL jobs, not just available. Some people may not care if a million people are using language X if they&#x27;re not getting paid for it.
评论 #18116672 未加载
评论 #18116430 未加载
drawkboxover 6 years ago
&gt; <i>TIOBE measures the sheer quantity of search engine hits. PYPL measures how often language tutorials are Googled.</i><p>Popularity by who searches for language help like Java or C&#x2F;C++ is mostly because those are more difficult languages with bigger, historical sprawl and frameworks.<p>Just using searching for popularity is skewed because people search more so for things they don&#x27;t know, than ones they do, and harder languages will probably be more searched. Same with tutorials, it only shows what people are learning. However it is somewhat valid in that even languages you use daily you end up searching for solutions and information on docs, community, etc.<p>The github and repo stats probably give a bigger picture of popularity combined with searching and surveys.<p>Side note: Personally I think everyone should learn C&#x2F;C++ and maybe a functional language or a dynamic language like Python in addition to their main languages. Learning C&#x2F;C++ and building in it is closer to the metal, has memory management and every language you learn after is less difficult. I do love C++ for game development but it helps with learning all other languages as well as all other languages difficulty is downhill from it, and is especially great for memory management, stack&#x2F;heap understanding, value&#x2F;reference understanding and C&#x2F;C++ is empowering in the power&#x2F;speed of the platforms. To this day still most apps are built with C&#x2F;C++ under the hood whether directly, exported to or in a virtual machine that is built in it. For highly performant apps&#x2F;code&#x2F;systems C&#x2F;C++ still are king.
评论 #18116891 未加载
bacon_waffleover 6 years ago
My day job mostly involves C code, which lives in a company repository; I only rarely search for C specific stuff. Hobby projects - work on OSS in C++&#x2F;Python, or learning Rust - must result in an order of magnitude more of my language-specific searching and public committing, even though it represents a small fraction of my programming time.<p>So, for me, searching is mainly related to the learning about a language, not so much using a language. This makes me wonder if the integral over time of search volumes might be a useful measure of language use?
Apocryphonover 6 years ago
Article underestimates how much iOS app legacy Objective-C code there is; even Apple is a far ways off from replacing it all with Swift.
评论 #18116527 未加载
hirundoover 6 years ago
As a Rubyist I&#x27;m pleased with the Github ranking, but how much of that is tilted by Github being a Ruby platform initially colonized by Rubyists?
评论 #18116208 未加载
评论 #18116974 未加载
评论 #18116424 未加载
innocentoldguyover 6 years ago
I don&#x27;t put a lot of stock into TIOBE and similar lists because I&#x27;m not really sure how that information helps. It seems to me that these lists are measuring ubiquity rather than popularity, which I define as being well-liked. I guess there is value in that, but I&#x27;m far more interested in seeing a ranked list of well-liked languages and the reasoning behind those opinions. Slant isn&#x27;t perfect, but it offers me the sort of pros vs. cons lists that I find much more valuable when selecting a language.<p>Job prospects&#x2F;salary is another ranking I&#x27;m interested in. For example, I know I can get a JavaScript job on any corner, but is that ubiquity going to cost me in salary? Can I earn more by mastering something like Rust, Elixir, or Erlang?
davidwover 6 years ago
I used to do a language popularity thing, langpop.<p>One of the takeaways is that there are <i>different</i> metrics and none of them is perfect.<p>So I grabbed what I could, combined them, and even had a JS thing where you could weight them differently.<p>Stuff I looked at: raw search, source code, books, job advertisements.
analog31over 6 years ago
I&#x27;ve used the language popularity indexes to show MBA&#x27;s that my preferred tool chain isn&#x27;t some weird obscure thing that I just discovered on the Internet. The numbers were good enough for that purpose, and of course they didn&#x27;t question the underlying methodology. Perhaps the more useful message for them is that there are in fact more than one or two popular languages, and that they are not all commercial products.
zmmmmmover 6 years ago
The big problem is all the major indexes are driven by search engine measures, and those themselves are highly sensitive to any change in the underlying search engine methodology itself. So a small change in Google&#x27;s ranking algorithm will see a language move up or down dozens of places.<p>I would tend to focus more on job ads personally because those are at least linked to &quot;real intent&quot; to use a language for something tangible. You don&#x27;t put it in an ad because something is controversial or had a lot of news lately etc. which can all lead to things being Googled a lot or getting a spurt of search activity.<p>Github&#x27;s index is nice in that it is based on actual code, but then it&#x27;s also heavily biased by what is open source and therefore doesn&#x27;t fully reflect industry use of languages (which is why I think it deviates from other indexes to put Javascript and Python a bit higher, and less emphasis on say Java and C#).
DoreenMicheleover 6 years ago
There is an excellent book on such things that I highly recommend: <i>How to lie with statistics</i><p>Problems like this are part of why we have sayings like:<p>Measure twice, cut once.<p>GIGO (Garbage in, garbage out)<p>Some saying about measuring to extreme precision, then &quot;cutting with an axe.&quot;
评论 #18118363 未加载
13415over 6 years ago
Instead of popularity indices, I&#x27;d like to see the percentage that a language+framework takes in applications of a certain type, such as desktop applications, client-side web applications, server applications, data crunching, embedded, etc. That way you can spot trends or find alternative languages for a certain task.<p>Another interesting metric would be the number of open source libraries for the language that have had commits within the last 3 months and whose major semantic version is 1.0 or higher (or some other way to weed out unfinished libraries), sortable by license.
meddlepalover 6 years ago
As Mark Twain eloquently put it...there are lies, damned lies and statistics.
jaequeryover 6 years ago
JavaScript Is ambiguous these days. How much percentage of the JavaScript popularity is from the backend language Nodejs and how much of it from the client side(html, react, angular, etc)?
评论 #18118370 未加载
vorgover 6 years ago
Tiobe&#x27;s faulty ranking method isn&#x27;t even reliable. Three years ago Apache Groovy was in the top 20, but six months ago it wasn&#x27;t even in the top 50. Now it&#x27;s supposedly rising rapidly again. And this isn&#x27;t the first time this has happened with Groovy -- it was also in the top 20 in Oct 2013 but three months later out of the top 50. I suspect Tiobe&#x27;s rankings are being gamed somehow.
ssethover 6 years ago
Github ranking by open pull request to me feels the best approach if what you are interested in is trends of language adoption.<p>Measuring total corpus would be measuring past popularity and may miss trends. Search metrics on the other hand may actually overrate newer languages which may be searched more compared to more mature languages. Opened pull requests sounds like a better metric overall.
CryoLogicover 6 years ago
I have absolutely no doubts that the <i>most used</i> language is JavaScript - considering nearly every website in existence relies on it.<p>So it&#x27;s really just a question of methodology. When TIOBE says popularity they must not be talking about usage rates, or if they are perhaps they are specifically sampling some subset of enterprise?
评论 #18115851 未加载
评论 #18116077 未加载
评论 #18116989 未加载
评论 #18116635 未加载
评论 #18115875 未加载
评论 #18117098 未加载
mastaziover 6 years ago
&quot;The data doesn&#x27;t match my personal preconceptions, so the methodology must be broken&quot; Uhm yeah, nah.
krschultzover 6 years ago
The Stack Overflow developer survey is another data set that I trust.<p><a href="https:&#x2F;&#x2F;insights.stackoverflow.com&#x2F;survey&#x2F;2018#technology" rel="nofollow">https:&#x2F;&#x2F;insights.stackoverflow.com&#x2F;survey&#x2F;2018#technology</a>
dcooper8over 6 years ago
Nor is github a perfect indicator. Some languages promote their own open-source repository hubs, such as <a href="https:&#x2F;&#x2F;gitlab.common-lisp.net" rel="nofollow">https:&#x2F;&#x2F;gitlab.common-lisp.net</a>.
pankajdohareyover 6 years ago
I dont think these measurements are any good or true reflection of a languages usage in the industry, some languages go totally under the radar, like clojure&#x2F;clojurescript.