rcrowley + polymorphism   1

Null Objects and Falsiness | Virtuous Code
The best thing about Django's auth subsystem is that non-logged-in users have a User subclass dedicated to them so you don't have to check for None.

This article goes through the ins and outs of this pattern in Ruby.
ruby  nullobject  designpatterns  polymorphism 
january 2012 by rcrowley

Copy this bookmark:



description:


tags: