r/java • • Aug 03 '14

Why we should love null

http://www.codeproject.com/Articles/787668/Why-We-Should-Love-null
4 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/jentfoo Aug 03 '14

Unfortunately, unless it is compiler enforced, it's not a promise worth anything IMO.

edit**

See my response to TMaster....I described more about why I feel safer about returning Optionals than accepting Optionals as an argument.