JYuan Learning Log
Tuesday, December 23, 2014
Learning Design Patterns
The NoCommand object is an example of a
null object
. A null object is useful when you don’t have a meaningful object to return, and yet you want to remove the responsibility for handling
null
from the client.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment