| May 2022 | April 2022 | March 2022 | February 2022 | January 2022 | December 2021 | November 2021 |
These recommendations are for building enterprise applications on PCs and mobile devices - forms, data grids, reports. They are not for games or media applications.
Here are the choices in alphabetical order:
Picking a popular technology makes our developer life easier: Easier to learn, easier to build, debug & deploy, easier to hire, and easier to convince teammates & bosses. Now popularity can make a difference in two situations: When multiple technologies score the same, we could go for the most popular one. And when a technology is very unpopular, we may not use it.
I measure popularity among employers and developers as the trend between competing technologies. I count mentions in job ads at Indeed for employer popularity. For developer popularity, I use Google searches, Udemy course buyers, and Stack Overflow questions.
The Indeed job search is active in 62 countries representing 89% of the worldwide GDP in 2020. It demonstrates the willingness of organizations to pay for technology - the strongest indicator of popularity in my mind. Kotlin is the baseline.
And here are the remaining languages:
Java wins by an order of magnitude, Scala may be second, and Kotlin is third. I’m skeptical of Scala’s numbers: It made an improbable jump from 89% of Kotlin’s mentions to 157%! And all of that comes from Japan, where Scala exploded from 4k to 36k! The numbers seem legit, but I’ll keep an eye on this. Without this “Japan boost”, Scala would be at 88% of Kotlin’s mentions. Groovy has a fifth of Kotlin’s number while Clojure is last. Kotlin lost 22% compared to March, wiping out all gains against Java & Scala since last October. But it’s slowly recovering. Even Groovy gained against Kotlin as a result.
Please see here for details, caveats, and adjustments of the job ad mentions.
You can find the detailed search results with links here. They include breakdowns by continents:
Google Trends demonstrates the initial interest in a technology over time:
This link produces the chart above.
Even at 1/8 of its peak interest in 2004, Java still beats Kotlin 12:1. Its decline may have stopped.
To get a better picture of the Java alternatives, here they are without Java:
This link produces the chart above.
Among the Java challengers, Kotlin wins, Scala is second, Groovy third, and Clojure last. We can see the fall of Scala and the rise of Kotlin, both starting five years ago. Kotlin peaked in July 2020 and is now back to its level from three years ago. After stabilizing a year ago, Scala may take a dive again. Groovy has declined for nearly three years, while Clojure has for almost four years.
Udemy is one of the biggest online learning sites. They publish the number of courses and students beyond a certain threshold (possibly around 100,000 students). This shows how many people evaluate a technology. Kotlin is the baseline.
Java wins by an order of magnitude, Kotlin is second, and Scala is third. Java, Kotlin, and Scala are stable. Both Groovy and Clojure don’t have enough students to cross the display threshold.
Here are the links that show the courses for all and the number of students for some:
Stack Overflow Trends shows which percentage of questions at Stack Overflow has a particular technology tag. It is a proxy for using a technology during evaluation and productive use. “More questions = better” to me.
This link produces the chart above.
Java wins, Kotlin is second, Scala third. After a five-year rise, Kotlin seems to plateau at a fifth of Java’s question volume. Java has lost nearly half its questions in the last seven years, while Scala lost more than half over the previous five years. Groovy and Clojure have hovered just above zero for as long as Stack Overflow has existed.
Here’s my recommendation: