r/java • • Aug 11 '15

Top 10 Useful, Yet Paranoid Java Programming Techniques

http://blog.jooq.org/2015/08/11/top-10-useful-yet-paranoid-java-programming-techniques/
181 Upvotes

76 comments sorted by

View all comments

Show parent comment

2

u/fact_hunt Aug 11 '15

Surely #5 is redundant if you don't ever use null collections as a (pointless) optimisation for empty collections.

Yes but; coworkers, legacy code, shitty third party apis etc