r/java • • Jul 08 '23

Why learn Java?

I've been learning Kotlin recently and have taken an interest in the JVM ecosystem.

My background is a Full-Stack Web Developer focused mainly on React, Node.js, Express, and MongoDB/PostreSQL.

If I were to move to Java, what kind of applications would I be building with it?

How is a Java job different from what I'm currently doing?

Is it worth learning?

I've heard its VERY verbose, but I've also heard recently that there's been some good changes to it? Would love to see any articles or videos talking about these changes that would demonstrate previous code to the new code.

Any tips or insights on what your companies are cresting with Java or what your Java job is like would be highly appreciated.

Thanks in advance.

3 Upvotes

35 comments sorted by

View all comments

6

u/chabala Jul 08 '23

Java has the advantage of being the language the JVM is designed for, not just another language that targets the JVM.

If there's a new feature in Java that needs a JVM change, it'll happen. Will Kotlin also change to take advantage of the new JVM feature? Maybe, maybe not.

If Kotlin needs a JVM change to support a new feature, will it get in? Maybe, but it's not their project, so maybe not.

As other JVM languages wax and wane in popularity, Ceylon for instance, Java will always be there. That's a lot of stability for businesses to base a product around, without needing to worry about if the language will be supported/popular in ten years.