代码气味29-设置/配置
Code Smell 29 - Settings/Configs

Changing system behavior in a control board is the customer's dream. And the software engineer's nightmare.
Problems
Duplicated Code
Global usage
Testability and explosion of testing scenarios.
Complexity
Solutions
Avoid Settings
Create polymorphic objects. Inject them externally.