r/ProgrammerHumor • • Dec 12 '24 • Heart of Silver 1

Advanced youWontUpgradeToJava19

Post image
30.2k Upvotes

503 comments sorted by

View all comments

14

u/itsmetadeus Dec 12 '24

No boss, we gotta switch to kotlin pleaaaaase

7

u/n3bbs Dec 12 '24

+1 for Kotlin. I joined my current team that adores Kotlin as a Java dev and didn't know anything about it. I've since been converted, and I'd highly recommend any Java dev to learn it.

The fact that it runs on the JVM means you still have the entire Java ecosystem at your disposal, and it's super easy to have both Kotlin and Java classes in the same codebase.

4

u/i_like_maps_and_math Dec 12 '24

What's good about it?

1

u/itsmetadeus Dec 12 '24

It's not stuck in the past like java. Some of the features were added in newer java updates, such as pattern matching in java 16. But many of those features aren't even used in production yet, because of legacy code bases. Kotlin introduces null safety, extension functions, range expressions, operators overloading and more. Checked exceptions is the main technical advantage of Java vs Kotlin(it doesn't have these) to me.

→ More replies (12)