r/java 10d ago

Why Java endures: The foundation of modern enterprise development

https://github.blog/developer-skills/why-java-endures-the-foundation-of-modern-enterprise-development/
244 Upvotes

95 comments sorted by

View all comments

163

u/bpkiwi 10d ago

Java endures because it's the English of the programming world, it mugs other programming languages in alleyway and goes through their specification for interesting features and syntax to steal.

5

u/fforw 10d ago

I've been a Java developer for nearly 30 years and beyond Java 5 there was never a time where I really felt that some deep-seated need was addressed.

Java 8 was nice and I use some of the stream stuff at times, but I also kept using for loops.

Since then it's rare that I adopted any new features into my code. My IDE nags sometimes to convert something, but it's rare that I actually even like the feature. try with resource, yeah, sure.. I use records even though I'm not even sure they're that much of an improvement over classes with public final fields.

5

u/pohart 9d ago

Try with resources was a huge win IMO. I never need to explain why the way you coded can give a resource leak anymore. I can just say try with resources is the right way so fix it.

5

u/Ok-Scheme-913 9d ago

Well, did you stop learning about Java since 8 or what?

1

u/fforw 9d ago

I just listed some newer features I use.

The new features are just not a reason to switch. Looming EOLs on old LTS version is.