Lexicon

Operation Extension Without Element Change

Kind: capability

Layer: Design Patterns Core

Record: lexicon:operation-extension-without-element-change

Canonical: Lexicon

The ability to add new operations over a structure without modifying its element classes.

Listed in Lexicon terms, after Null-Check Elimination and before Ordered Fallthrough.

Category

  • Behavioral Patterns

Enabled by

  • Visitor Pattern

Linked from

  • Behavioral Patterns