The Null object pattern cardNull object pattern

Null object pattern

Common

Rarity: Common

The most frequent rarity: most Wikipedia articles become Commons.

Rarity follows how well known the article is: its views on the French and English Wikipedia over a year, and the number of languages it exists in.

At a glance

Class
Notion
Domain
Science and technology
In collections
Nobody has pulled it yet.

What Wikipedia says

In object-oriented computer programming, a null object is an 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 as "Void Value"

Excerpt from the Wikipedia article “Null object pattern”, under the CC BY-SA 4.0 license. Read the article on Wikipedia

Image: Rskrzyszewski, CC BY-SA 3.0, via Wikimedia Commons.

Open free boosters and add Null object pattern to your collection.

Play for free

Related cards