[zanata-devel] Contrarian thoughts on null pointers, null objects, empty collections and Optional

Sean Flanigan sflaniga at redhat.com
Mon Feb 16 03:05:49 UTC 2015


Here's that article I mentioned.  Some interesting ideas in here.

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

Whether or not you agree with welcoming back nulls, the idea of treating
empty collections as an important special case might have some merit.

The follow-up articles "Is it Really Better to 'Return an Empty List
Instead of null'?" are quite good too.


Sean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/zanata-devel/attachments/20150216/74c68d1f/attachment.sig>


More information about the zanata-devel mailing list