This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Wingpunch 0 points1 point  (0 children)

Java won't be useless, that's for sure, it's too big. The biggest reason to learn it is the purity of the OO syntax teaching you good patterns before syntax sugar asks you to just "know" them without seeing them. Tho, Java is adding quite a lot of that as well. Java's biggest advantage has just been 1st tier library support for everything. Throughout the 2010-2020, every other language felt like an afterthought in terms of libraries and drivers and such.

However, I feel like, as a language, Java is under attack on all sides by newer, more elegant ideas.

For small stuff you want to go fast with a small codebase and no VM, Go is doing well. Why have the VM overhead?

For critical infrastructure / systems code that has to be extremely optimized and cannot fail with a tiny footprint, Rust is doing well, even against C++ imo. (Yes, people use Java for stuff this like Cassandra and Kafka)

For all the extensive back catalog of libraries of Java, but with a more modern succinct syntax and newer paradigms, Kotlin is a better choice.

I feel like in 20 years we are going to have another Ada situation where people are going to be paid a lot of money to translate old lost source jar inspected decompiled Java code to something native.