r/java • • Apr 20 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
291 Upvotes

295 comments sorted by

View all comments

54

u/deadron Apr 20 '21

Java has its issues. Its specification stagnated for a number of years due to the sun collapse and oracle acquisition. It also does not show its strengths in command line utilities, or in GUIs(Swing enthusiasts, fight me.), or in games. It really only shines when running longer lived server side applications where the tradeoffs the language makes are stronger. When you do use it for application development it is often mired in legacy framework baggage that adds little while causing you headaches.

Once application servers are killed off for good, and the next LTS JDK releases, the future should be much more exciting.

4

u/maxandersen Apr 21 '21

Try jbang and you get command line utilities / scripting. Add some quarkus and you can easily make it start fast with its native compile.

Java moved alot in this area the last 1-2 years :)

1

u/deadron Apr 21 '21

I don't really get why you would use jbang for anything. If I am producing a runnable application I can produce an executable jar already. I just don't understand what the benefit is to it instead of using an existing build tool.

As I understand graalvm still is not compatible with everything. It also doesn't really seem popular with real world developers even though it's being pushed everywhere on reddit. Probably because none of us can use it with any of our existing applications due to said incompatibilities. For example spring is still incompatible.

2

u/maxandersen Apr 21 '21

oh and you don't need spring to write utilities - lots of valid alternatives for that use-case.

→ More replies (5)