Lexicon

Cartesian Inheritance Explosion

Kind: anti-pattern

Layer: Design Patterns Core

Record: lexicon:cartesian-inheritance-explosion

Canonical: Lexicon

Modeling every combination of two independent dimensions as its own subclass, so the class count grows multiplicatively.

Listed in Lexicon terms, after Repeated Expensive Setup and before Direct Access.

Category

  • Structural Patterns

Negated by

  • Bridge Pattern

Violates

  • Bridge Pattern

Linked from

  • Structural Patterns