r/java • • Aug 03 '25

Teach Me the Craziest, Most Useful Java Features — NOT the Basic Stuff

I want to know the WILD, INSANELY PRACTICAL, "how the hell did I not know this earlier?" kind of Java stuff that only real devs who've been through production hell know.

Like I didn't know about modules recently

395 Upvotes

279 comments sorted by

View all comments

Show parent comment

5

u/[deleted] Aug 04 '25

Nonsense? I think its cool having some default configurations especially many things are always would be set up like that manually anyways

2

u/slackalishous Aug 04 '25

The main issue occurs when you have two dependencies that depend on different versions of the same library.

1

u/PedanticProgarmer Aug 04 '25

Or when you need to exclude some autoconfiguration because you need to do integration your way. Your system becomes  bloated with „do not use technology X” statements.  You cannot predict what X to exclude.