Discuss This Topic
There are 0 comments in this discussion.
url: http://robots.thoughtbot.com/post/20907555103/rails-refactoring-example-introduce-null-object
Introduces Null Object pattern and talks about how you can use it to take advantage of duck typing for better OO design.
Not really a great example of how powerful it is. Recommend Refactoring from Good to Great video for better example.