Null object pattern: Difference between revisions

Content deleted Content added
m Description: punct., style
m Example: punct.
Line 77:
}
 
This separates normal logic from special case handling, and makes the code easier to understand.
 
==Relation to other patterns==