# Smells of Choosing: The switch That Keeps Growing

When the same switch on a kind of thing is copied into many places, a new kind means a hunt through the code and one copy is always missed; the smells of choosing all come from one decision with no home, and their cures give it one.

![Cheat sheet: Smells of Choosing: The switch That Keeps Growing](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/efc4195ba60c426f87493523cc481dad.webp)

- Category: Data Structures
- Level: Journeyman
- Tags: Code Smell, Flag Argument, OOP, Polymorphism, Repeated Switch, software-development
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-smells-of-choosing-cheat-sheet
