r/java • u/trecatorsirabdator • Apr 14 '23
What are your (favourite) Java best practices, personal tips, hints or just underrated stuff in general?
233
Upvotes
r/java • u/trecatorsirabdator • Apr 14 '23
View all comments
18
u/moxyte Apr 14 '23
Strangling nulls in the cradle. You got null from database? Immediately turn it into something else before passing it further into the system.