r/java • • Apr 14 '23

What are your (favourite) Java best practices, personal tips, hints or just underrated stuff in general?

233 Upvotes

376 comments sorted by

View all comments

Show parent comments

17

u/neckbeardfedoras Apr 14 '23

Your problem is people are lazy or a lot of times see more job security by not simplifying things.

4

u/CartmansEvilTwin Apr 15 '23

Not laziness, but loss of control (or better: fear of loss of the illusion of conrol)

These guys are responsible for these DBs and their asses are on the line, if something goes wrong. That's why they want to do everything themselves or review everything that is being done - even if in reality they wouldn't see any non-obvious error anyway. But they still have the illusion of control.

Automation takes that away.

1

u/neckbeardfedoras Apr 15 '23

Not only can you automate db management, but you could also automate change validation. To where you actually have more confidence in production migrations, not less. That'd probably really blow their minds.

1

u/CartmansEvilTwin Apr 15 '23

Yes, but that still lets their (illusion of) control slip. And that's scary to them.

There are people driving stick, because they're 130% sure, they can shift better than an automatic - and they fear losing control.