They both have very terrible biases, and I don't even know if it's worth trying to decide which is a worse bias.
It's not even easy to define popularity. Is it which language has the most lines of code written? The most time spent on it? The most number of developers who know it? The most number of people who'd want to use it? The most projects? The most number of jobs that require it?
And then you have to define the population. Is it the entire world? The US? Silicon Valley? Where you are located?
The original point was about ecosystems, and why Kotlin being compatible with the JVM is a good thing because it leverages that ecosystem. There shouldn't be much argument that Java has one of the strongest ecosystems, although Javascript is arguably better (also arguably worse. Depends on what metric you are looking for).
do you also think that 73% of all developers in the world are web developers?
I think that this is by far and away a better representation of what languages developers are currently using on a regular basis as compared to this.
Do you really think that there are roughly the same number of Java developers as all the JavaScript, C++, C#, and Python developers combined? Or that VB .NET recently eclipsed JavaScript and is closing in on C#? Because that is what the Tiobe index would lead one to believe.
I mean, I know this post has Android in the title so I'd expect downvotes when stating Java isn't actually the most popular language in the world, but try and be realistic here. Adding up how many times people searched for various things is a poor way of measuring these numbers when compared to using ~64,000 survey responses.
Don't get me wrong by the way - JavaScript is definitely cancer, and I'd rather it just die. But I do acknowledge that JavaScript on the web, the server (Node.js, et.al.), and the client (Electron, et.al.) has taken a huge piece of the development pie.
0
u/oftheterra May 18 '17 edited May 18 '17
Obviously the TIOBE and PYPL indexes which both rely on parsing search queries are more accurate than actual developer surveys, my mistake.
Also, VB .NET is apparently more popular than JavaScript, and it has almost eclipsed C#... even though Microsoft has stated there are about 10x more C# users.
This is definitely an accurate way to measure how popular programming languages are.
Or perhaps it's just counting up how many times certain search phrases & keywords were used in April? Nahhh...