Kotlin vs Java

Cluster focuses on debates comparing Kotlin favorably to Java as a more modern, interoperable alternative, especially for Android development and new JVM projects, with endorsements for switching from Java.

📉 Falling 0.4x Programming Languages
4,096
Comments
17
Years Active
5
Top Authors
#6480
Topic ID

Activity Over Time

2010
1
2011
16
2012
38
2013
62
2014
101
2015
191
2016
240
2017
558
2018
280
2019
373
2020
379
2021
492
2022
412
2023
332
2024
305
2025
284
2026
34

Keywords

TypeScript kotlinlang.org JetBrains WAY USP JavaScript EnterpriseGradeFizzBuzzSolutionStrategyFactory ORM medium.com IDE kotlin java android scala jvm language jetbrains ecosystem dart tooling

Sample Comments

mardifoufs Oct 25, 2022 View on HN

Why not just java? I thought it caught up to kotlin in the past few years

roland35 Oct 21, 2022 View on HN

Kotlin is a great option, and isn't a big jump from Java!

cutler Aug 29, 2022 View on HN

Do you see much evidence of Kotlin eating Java's lunch as some have predicted?

sureglymop Sep 16, 2023 View on HN

Why not Kotlin instead of Java? I feel Kotlin is very underrated.

cunidev Aug 25, 2018 View on HN

Thanks for the suggestion! Kotlin looks great under many perspectives, way better than Java probably for my needs

furrydog May 19, 2017 View on HN

Kotlin is simply a much more modern option than Java in general, and doubly so for the old version of Java used for Android. Giving Kotlin some official backing gives it a lot of credibility. The big argument favour of using Java over Kotlin until now has been that Kotlin was seen as more of a fringe language than the one (Java) officially endorsed by Google. Now that has changed. As a Scala developer I'm quite happy that Kotlin is getting this much attention as I see it as Scala-lite. I do

gruvector Sep 1, 2014 View on HN

Kotlin is very similar to Scala, but far less ambitious and not as focused on functional programming. In fact there have been various posts pointing out the similarities between Scala and Swift. It's rather pragmatic but there hasn't been much interest in it so far. Perhaps things will pick up after hitting v1.0. Pitching it as a Java substitute for Android would be a clever move. Java 8 is a poor substitute for Kotlin or Scala, and on Android you're stuck on even more archaic syn

mxschumacher Dec 24, 2017 View on HN

Kotlin is very much threatening Java's dominant position in Android development

chickenbane Apr 4, 2017 View on HN

> I am sceptical that Scala/Kotlin and many others started in last decade stand chance against Java/Rust/Swift/GoIn contrast to Scala, Kotlin has a much stronger focus on Java interop so its able to much better leverage the JVM ecosystem. In particular, Kotlin hits a really good sweet spot for Android development, where it can still be compatible with older JVM versions, the language features can really increase readability and reduce bugs, and the overhead isn't

jillesvangurp Nov 16, 2019 View on HN

I'm a long time Java user. If you are not using Kotlin at this point, you are doing it wrong. That's of course a blunt/provocative statement and there are of course perfectly good reasons for continuing to use Java on some projects. However, most of those reasons are non technical. And I'd argue that 1) Kotlin is a drop in replacement in those projects 2) it's running far ahead in terms of language features that aren't even on the roadmap for inclusion in Java (whic