Thursday, December 12, 2013

Null Object Pattern

Stopping checking if object is null

https://michaelfeathers.silvrback.com/when-it-s-okay-for-a-method-to-do-nothing
http://sourcemaking.com/refactoring/introduce-null-object

graphics/09fig01b.gif

No comments:

Post a Comment