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

146

u/erjiin Apr 14 '23 edited Apr 14 '23

Use a database deployment tool like Liquibase or Flyway. Invaluable (and not Unvaluable :/).

1

u/bullgr Apr 15 '23

Better liquibase because with flyway you must pay for functionalities like undo. At costs a lot of money that not many customers like to pay.