DEV Community

Discussion on: Java 15 in 2020: Reasons to *not* use Java?

Collapse
 
brunoborges profile image
Bruno Borges

What are in your opinion the reasons to not start using Java today, considering the latest features in the language, APIs, and runtime, since Java 8?

Collapse
 
simonhaisz profile image
simonhaisz

Good question!

Fundamentally it's about longevity. Sure, you could start with Java today and it would probably satisfy your needs. But what about a year from now? Two? Five? By those points there will be new capabilities you might want that Java probably doesn't have and it's alternatives will. If you are already on a leaking ship you are going to try to keep it afloat, at least until you reach your destination. But if you are standing on the docks why would you choose to get in the boat that's already leaking?

Thread Thread
 
brunoborges profile image
Bruno Borges

And what makes you believe that the Java boat is leaking?

Thread Thread
 
simonhaisz profile image
simonhaisz

Because the trajectory of Java is downward when compared to the alternatives because it is getting new features slower.

Lets say I create the same app twice, one using Java and the other using .NET. In 5 years time I believe the best thing you could say is that the Java one is no worse off because the new stuff that .NET has that Java doesn't have doesn't apply to the app. And I'm struggling to come up with a scenario where the Java one would be better off.

The risk that your choice might not be good enough for the long run? That's getting into a leaky boat.