Python: 84.6%
C: 54.0%
C++: 48.2%
Java: 48.2%
JavaScript: 47.6%
...
Ruby: 21.0%
Why is Python so far ahead of everything else? Why is Ruby, which is all about programmer happiness so far down?
It seems people actually like JavaScript. Wait, people do actually like C++?!?
Also if you take a look at Go by age, for example, it goes from 53.6% (35-44) up to 67.8% (45-54) and back down to 7.6% (55+). I don't see a reason for such a huge preference variation. There's also a few 0.0% with 55+ years.
It seems there weren't enough answers for this to be anywhere near conclusive.
> people actually like JavaScript. Wait, people do actually like C++?!?
Yep to both. I actually don't mind the latest versions of JavaScript. I don't like C++ at all, but have done professional work in it alongside people who thought it was a great language.
> Why is Ruby, which is all about programmer happiness so far down?
Programmer happiness is subjective (as evidenced by my previous remark and by the love/hate you see expressed for JavaScript, Go, Clojure, etc). Personally, I'm not a Ruby fan. I don't like the syntax. I vastly prefer composable functions to Ruby's "blocks". I find that most Ruby code I've worked with is too heavy on OOP abstractions and would be much clearer if expressed functionally. I could go on, but the point is, it's subjective.
Yeah, the majority of the people I know who use HackerRank are college-aged looking for jobs. It's hard to place any confidence in this study.
A total of 39,441 professional and student developers completed the online survey from October 16 to November 1, 2017. The survey was hosted by SurveyMonkey and HackerRank recruited respondents via email from their community of 3.2 million members and through social media sites.
It's a self selected sample and probably skews a lot toward what the "cool kids" are doing and not what most corporations are actually doing. There is no conceivable way that Lua, Kotlin, and Go should be more highly represented than Swift/Objective C and C#