# Why is Kotlin not among the most used languages?

**URL:** <https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056>\
**Category:** Uncategorized\
**Created:** [June 7, 2021, 1:28pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056 "2021-06-07T13:28:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gleysoncordeiro](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@gleysoncordeiro](https://discuss.kotlinlang.org/u/gleysoncordeiro)\
**Post date:** [June 7, 2021, 1:28pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/1 "2021-06-07T13:28:27Z")

</div>

Why is Kotlin not among the most used languages?  
Does it still have a promising future or is it not?

---

<div class="post-metadata">

**Author:** ![darksnake](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/darksnake/32/2479_2.png) [@darksnake](https://discuss.kotlinlang.org/u/darksnake)\
**Post date:** [June 7, 2021, 1:35pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/2 "2021-06-07T13:35:48Z")

</div>

Kotlin **is** among the most used languages.

---

<div class="post-metadata">

**Author:** ![topsys](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/topsys/32/7328_2.png) [@topsys](https://discuss.kotlinlang.org/u/topsys)\
**Post date:** [June 8, 2021, 2:38pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/3 "2021-06-08T14:38:06Z")

</div>

It depends on where you look.

> **[StackOverflow listed the most commonly used programming languages |...](https://learnworthy.net/stackoverflow-listed-the-most-commonly-used-programming-languages/)**
>
> StackOverflow listed the most commonly used programming languages based on pure data:JavaScript, HTML/CSS, SQL, Python, JAVA, C#, PHP etc.

> **[11 Most In-Demand Programming Languages in 2022 - Berkeley Boot Camps](https://bootcamp.berkeley.edu/blog/most-in-demand-programming-languages/)**
>
> There are some specific programming languages that are in-demand in 2021. Click here to find out what they are.

---

<div class="post-metadata">

**Author:** ![antenangeli.1](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/antenangeli.1/32/8639_2.png) [@antenangeli.1](https://discuss.kotlinlang.org/u/antenangeli.1)\
**Post date:** [June 9, 2021, 12:52am UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/4 "2021-06-09T00:52:40Z")

</div>

Why anyone would do development in Java instead of Kotlin is one of the greatest mysteries… Only explanation I have is that people like carpal syndrome and bloated code, so they stick with Java.

I’ve been using exclusively Kotlin for the past year, and unless someone beats me with a baseball bat, I won’t develop in Java ever again.

---

<div class="post-metadata">

**Author:** ![fatso83](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/fatso83/32/8860_2.png) [@fatso83](https://discuss.kotlinlang.org/u/fatso83)\
**Post date:** [September 13, 2021, 10:48am UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/5 "2021-09-13T10:48:16Z")

</div>

I don’t know about you, maybe you are Vim masochist or something, but I don’t really feel like I do all that much more typing in Java than Kotlin when using a modern IDE like IntelliJ. I type 4-5 chars, autocomplete, Ctrl-V to create `final var {something}` and presto. With Java’s `record` you finally also have a struct-like class like in Kotlin, so verbosity for those “data-holder” cases is a thing of the past.

And TBH, typing has never what held me back from completing features. It’s my brain that’s the slow part 😄

The biggest pain points about Kotlin is that it is still rife with children’s diseases that make life less enjoyable. After introducing Kotlin, we have had issues with

- plugins needing updating to be able to handle Kotlin
- much slower builds (just adding a handful of Kotlin classes increased build time by a minute or more)
- randomly failing flaky tests when touching Kotlin code (`NoClassFoundException`)

This is all (probably) fixable, but when going from a relatively painfree and super-fast pipeline to adding those issues you don’t get immediate puppy-love affection for Kotlin, even though the _language_ in itself is beautiful.

---

<div class="post-metadata">

**Author:** ![konsult.ted](https://avatars.discourse-cdn.com/v4/letter/k/e0b2c6/32.png) [@konsult.ted](https://discuss.kotlinlang.org/u/konsult.ted)\
**Post date:** [June 11, 2023, 12:16pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/7 "2023-06-11T12:16:30Z")

</div>

I have been using kotlin for the last 3 years. In the beginning i was super impressed. But not anymore.  
When it comes to readability I think still Java is easier to read. Many kotlin decelopers seems to overuse scope functions, elvis operator, chaining etc.  
I still do not understand why elvis operator is more readable than a normal if statement.  
In Android it has become the preferred programming language, but I doubt that we will see it taking any market share in backend for example

---

<div class="post-metadata">

**Author:** ![mike123](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@mike123](https://discuss.kotlinlang.org/u/mike123)\
**Post date:** [June 12, 2023, 2:17pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/8 "2023-06-12T14:17:47Z")

</div>

I too have been using Kotlin for about 3 years now. I dread having to go back. The projects I’m involved with are multiple parts that work together, and I get away with doing my turf in Kotlin, but I have to write some Java to make it work on the other end. My Kotlin side is so much more efficient and smarter than the other clunky wonky Java end. It isn’t about a bit of elvissing, scoping, or any other candy stuff. It’s about becoming motivated to think smarter using more mentally efficient constructs. The way I end up thinking code is different than before. I literally massage code around now. I can evolve and home in on ever smarter constructs. Java is like molasses that way. Java doesn’t at all encourage me to massage things around and evolve to improved makeups. With Java it’s more like “woof, no that that unpleasantry is over it, can I do something else?”… It’s like boilerplate city, but then instead of OS boilerplate, language boilerplate. Molasses.

---

<div class="post-metadata">

**Author:** ![medium](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/medium/32/10404_2.png) [@medium](https://discuss.kotlinlang.org/u/medium)\
**Post date:** [June 13, 2023, 1:47pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/9 "2023-06-13T13:47:24Z")

</div>

Kotlin has not overtaken the world, but it _is_ one of the most used languages. However, I’d wish Kotlin would be a bit higher in the rankings (somewhere in the range of Swift and C++), but in the Kotlin is popular enough so that I’m not worried about its future. Besides the obvious Android, frameworks like Spring Boot and Quarkus are also providing native Kotlin APIs these days, which I consider a good sign.

> **[The RedMonk Programming Language Rankings: June 2022](https://redmonk.com/sogrady/2022/10/20/language-rankings-6-22/)**
>
> Now that we’re halfway through the fourth quarter, it’s probably about time for us to post our third quarter language rankings. We’ve been tied up behind the scenes at RedMonk between projects, our first event in three years and more and haven’t had...

> **[Programming Languages Ranking: Top 9 in 2023](https://distantjob.com/blog/programming-languages-rank/)**
>
> How to decide which is the programming language for your project? Here is the ranking for programming languages in 2022 to help you out!

---

<div class="post-metadata">

**Author:** ![law](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/law/32/10400_2.png) [@law](https://discuss.kotlinlang.org/u/law)\
**Post date:** [June 22, 2023, 12:27pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/10 "2023-06-22T12:27:17Z")

</div>

In the latest Stack Overflow’s Developer Survey, Kotlin is 9.7% used by professional developers.

 ![SCR-20230614-jmik](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/2/22b9344b63addf8c3f4de49c90499a100c0c0f65.png)

---

<div class="post-metadata">

**Author:** ![Melchior.Grutzmann](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/melchior.grutzmann/32/8159_2.png) [@Melchior.Grutzmann](https://discuss.kotlinlang.org/u/Melchior.Grutzmann)\
**Post date:** [July 10, 2023, 7:44pm UTC](https://discuss.kotlinlang.org/t/why-is-kotlin-not-among-the-most-used-languages/22056/11 "2023-07-10T19:44:08Z")

</div>

> …, but I doubt that it [Kotlin] will take any market share in backend, for example.

I think that this has more to do with extreme conservative companies. For example in my last company I was writing an isolated component in Kotlin instead of Java. I got beaten to the grounds by the same people that nourished the usage of groovy for tests and all that in the same project.

In my new company, we have at least dozens of developers who know about Kotlin, but still nobody would dare to write any component in Kotlin, let alone rewrite legacy components in Kotlin.

I have finally decided to do a moderate sized project with Kotlin backend in my freetime.
