Lexicon

Null-Check Elimination

Kind: capability

Layer: Design Patterns Core

Record: lexicon:null-check-elimination

Canonical: Lexicon

The ability to remove scattered null checks by substituting a benign do-nothing object.

Listed in Lexicon terms, after Lazy Traversal and before Operation Extension Without Element Change.

Category

  • Behavioral Patterns

Enabled by

  • Null Object Pattern

Linked from

  • Behavioral Patterns