# Repeated switches > 코드 악취. 반복되는 `switch` 문. Refactoring: Improving the design of existing code의 초판본에서는 "Switch statements"였는데 개정판에서는 "Repeated switches"로 이름을 좀 더 명확하게 바꿨다. 모든 조건문이 문제가 아니라 같은 구조로 반복되는 조건문이 문제임을 명시한 것. [코드 악취](https://wiki.g15e.com/pages/Code%20smell.txt). 반복되는 `switch` 문. [Refactoring: Improving the design of existing code](https://wiki.g15e.com/pages/Refactoring%20-%20Improving%20the%20design%20of%20existing%20code.txt)의 초판본에서는 "Switch statements"였는데 개정판에서는 "Repeated switches"로 이름을 좀 더 명확하게 바꿨다. 모든 조건문이 문제가 아니라 같은 구조로 반복되는 조건문이 문제임을 명시한 것. ## 관련 리팩토링 - [Conditionals to polymorphism](https://wiki.g15e.com/pages/Conditionals%20to%20polymorphism.txt)