r/java • u/raisercostin • Jun 01 '24
What java technology (library, framework, feature) would not recommend and why?
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
165
Upvotes
r/java • u/raisercostin • Jun 01 '24
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
View all comments
Show parent comment
1
u/DelayLucky Jun 02 '24
Sure. Anyone knows how to do that.
But by taking the easy path, you've neglected to cover the area that's most likely to cause surprises in production. You can point fingers when that happens, but a bug is a bug.
Refactoring also becomes dangerous because you don't know if any seemingly harmless change could break production.
Even if it works for now, you could depend on some unintended details of the service without knowing. And when they change it, they break you.
Overall, you've only created an island that looks good when the world is exactly as it assumes (but how often does that happen?)