r/learnjava • • Apr 07 '22

Is a good choice Java in 2022?

If yes wich path ? Microservices > Unit Tests > Spring ? I am new in programming and i start with Python and Flask but i really like the Java Structure

55 Upvotes

51 comments sorted by

View all comments

Show parent comments

2

u/sext-scientist Apr 08 '22

How so?

The way I look at Java currently, it seems to be becoming more of a 'teaching language' for use in academics. Java is definitely commonly used, but in my experience it's in a sense of: "We need to use Java because something written 10 years ago uses it, and we depend on that."

That's just my arbitrary personal bias, feel free to enlighten it, or point out the cool new things happening in the language.

1

u/greglturnquist Apr 08 '22

What do you prefer over Java?

2

u/sext-scientist Apr 08 '22

C++, TypeScript, Python. In that order.

If I'm writing new code for JVMs it's going to still be in Java though. The Koltin bandwagon is getting very popular for new projects, but I'd prefer to wait on that one.

2

u/Alerdime Sep 04 '22

writing c++ is suicide. It's an overkill for the most part.