What programming language make happiest developers?
There are a lot of stereotypes in the IT world, like “PHP is the worst language” or that “Python is for beginners”. Thankfully, we can find the truth using github and data from developer surveys.
Github is a platform familiar to any developer. Not only can it be used as a versioning tool, but also to gather repository and project statistics, user profile data and comments. That way we can access the information about age, gender and profile photos. Microsoft Face API is just the right tool for the job.
Github provides a list of the 25 most popular repositories and displays top 5 contributors. Eigencoder app, which I will be using, detects - 80 profile photos from each repository and analyzes them.
The Face API has the ability to detect gender from facial structure. The results here are quite one sided. AI and Webdev languages have at least some female energy.
The age metric turned out to be interesting. Older languages should be presumably used by older programmers, but Java has the youngest devs.
Every programmer has a language he doesn’t like, so much so he can’t even smile for his profile photo. Face API measures the amount that you are smiling, using a value between 0 and 1.
It looks like R developers are the happiest, followed closely by Go, C# and Python. Java devs, on the other hand, don’t seem to be enjoying their craft.
Most positive are the Clojure, Lisp and Scala developers.
CodinGame 2020 Developer survey
And like a small cherry on top I will look at the happiness levels of devs in each industry. TOP 3 according to the codingame survey are:
- Data scientists/Machine learning specialists
- Game developers/Engineers
- Development teachers and academic researchers
To wrap up…
The data analysis didn’t turn out very scientific results, but it can provide some level of insight.
Languages like PHP, Html and R are used mainly by women, C and C++ then almost exclusively by men.
The C++ language has the oldest devs, whereas Java the youngest.
And the happiest seem to be those who use R, Go, C# and Python.
But of course.. the whole happiness and meaning you find in your job depends on your orientation in life, goals and aims. Someone could thrive in the machine learning industry, others prefer game development for the constant novelty and so on.
Anyway, leave a comment if you feel like you are an exception in the statistics, and you are i.e. a young C++ dev, I would love to see that!