Switch-Based Extension
Kind: anti-pattern
Layer: Structural Core
Record: lexicon:switch-based-extension
Canonical: Lexicon
Extending behavior by editing a growing switch or conditional on a type instead of adding a new polymorphic type.
Listed in Lexicon terms, after Fat Interface and before Type Switching.