Null object pattern: Difference between revisions

Content deleted Content added
ClassA42 (talk | contribs)
Added first publication of the pattern, as discussed in the "Talk" page under "First publication"
Line 1:
{{Short description|Object with no referenced value or with defined neutral ("null") behavior}}
{{Redirect|Null object|the concept in category theory|Initial object}}
In [[object-oriented]] [[computer programming]], a '''null object''' is an [[Object (computer science)|object]] with no referenced value or with defined neutral (''null'') behavior. The null object [[design pattern]], which describes the uses of such objects and their behavior (or lack thereof), was first published inas the"Void [[Pattern Languages of Programs#Publications|''Pattern Languages of Program Design'' book series]].Value"<ref>{{Cite bookconference
| first = Thomas
| last = Kühne
| contribution = Void Value
| title = Proceedings of the First International Conference on Object-Oriented Technology, White Object-Oriented Nights 1996 (WOON'96), St. Petersburg, Russia
| year = 1996
}}</ref>
and later in the [[Pattern Languages of Programs#Publications|''Pattern Languages of Program Design'' book series]] as "Null Object" .<ref>{{Cite book
| first = Bobby
| last = Woolf