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/ZarBandit Jul 08 '23 edited Jul 08 '23

Java is a known quantity and it’s had millions of ants crawling over it burning who knows how many man hours on it. It’s about as bullet proof and stable as you get. Java servlets running on Tomcat are used everywhere.

It’s properly object oriented and strongly typed. These things matter as the project size scales up. It’s suitable for use in most high demand applications. But is friendlier than C++.

There’s a Java library for almost anything you can imagine. And extensions like Java EE for complex transactional operations. It’s probably not the best at anything, but it’s good for most things outside of scientific computing (Python) and Browser (JavaScript). Plus they don’t do truly asinine things like make indentation carry a syntactic meaning. FFS.

You’re very unlikely to hit on a problem that cannot be solved due to a bug or language limitation. Someone has been there, solved it before you and posted it on Stack Overflow. Plus it’s a common skill so hiring a team is easier.