Switch Statements
Switch statements are a code smell. Complex conditionals can be hard to read. The same pattern of switch statements might be repeating in several locations. Symptoms There is a complex switch statement or a long sequence of if statements.