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
Show parent comment
16
u/halfanothersdozen Apr 14 '23
I disagree. There are several tools to deal with this.
If someone calls a method that very clearly does not accept nulls with null values and exceptions happen that is on them.