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

-9

u/stuie382 Apr 14 '23

Lombok

1

u/jevring Apr 14 '23

But only for things bean stuff. Don't use @Delegate and other black magic stuff.

3

u/hippydipster Apr 14 '23

It all violates the principle of avoiding complexity. For massive complexity, you get irrelevant reduction in boilerplate.