What programming language has the happiest developers?

Ing. Jan Jileček
May 1 · 3 min read

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.

Data acquisition

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 30–80 profile photos from each repository and analyzes them.

Gender

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.

Age

The age metric turned out to be interesting. Older languages should be presumably used by older programmers, but Java has the youngest devs.

Smiles

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.

Comments analysis

Tobias Hermann analyses the comments and the words that developers of each respective language subreddit use.

Happiness

Most positive are the Clojure, Lisp and Scala developers.

Swearing

You will hear the most swearwords among the PHP communities (that comes as a no surprise I think). Second “best” is Javascript, followed by Java on the third place. Mathematical language devs seem to be at ease the most.

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:

  1. Data scientists/Machine learning specialists
  2. Game developers/Engineers
  3. 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!

See also: Post-mortem analysis of this article

The Startup

Medium's largest active publication, followed by +665K people. Follow to join our community.

Sign up for Top Stories from The Startup

A newsletter that delivers The Startup's most popular stories to your inbox once a month.

Create a free Medium account to get Top Stories in your inbox.

Ing. Jan Jileček

Written by

INTP Seeker, programmer, writer, journalist, director, game developer, photographer. I like taoism, Jungian psyche- and dream analysis, mythology & neurohacking

The Startup

Medium's largest active publication, followed by +665K people. Follow to join our community.

Ing. Jan Jileček

Written by

INTP Seeker, programmer, writer, journalist, director, game developer, photographer. I like taoism, Jungian psyche- and dream analysis, mythology & neurohacking

The Startup

Medium's largest active publication, followed by +665K people. Follow to join our community.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store