The Null Object Pattern

Bobby Woolf · 2011

If no instances of the “view” class ever needed a controller, then the class would not need to be a subclass of View. It could implemented as a visual class similar to View that did not require a controller. However, this will not work for a class that has some instances which require a controller and some which do not. In that case, the class needs to be a subclass of View and all of its instances will require a controller. Thus the view class requires a controller but a particular instance does not.

Cited by 2 works.

Authors

References