Thoughtbot: Rails Refactoring Example: Introduce Null Object

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.

Discuss This Topic

There are 0 comments in this discussion.

join this discussion

Creative Commons Attribution-Share Alike 3.0 New Zealand License
Thoughtbot: Rails Refactoring Example: Introduce Null Object by Walter McGinnis is licensed under a Creative Commons Attribution-Share Alike 3.0 New Zealand License