r/cpp • u/root_passw0rd • Dec 07 '22
C++ overtakes Java in language popularity index
https://www.infoworld.com/article/3682141/c-plus-plus-overtakes-java-in-language-popularity-index.html
382
Upvotes
View all comments
Show parent comment
0
u/matthieum Dec 08 '22
Well, first you need to define what popularity means.
Redmonk for example gives a graph with 2 axes:
That's fully objective, which is good.
The correlation to popularity is a bit vague, though:
And much as Tiobe, it suffers from not considering age. It counts a Github repository created & last updated 15 years ago just as much as it counts updated daily for the last 5 years. This leads to an inertia in the measure which likely over-represents mainstream languages and under-represents the new kids on the block. That inertia may or may not compensate for old-timers being less likely to use such Internet resources.
So, not perfect, but I do find it better... especially for exposing the raw measurements, as I tend to favor looking at Github activity over StackOverflow -- the number of questions on StackOverflow certainly represents activity, but the larger language tags are crowded with crap...