Code Smell Riddle #4
1 min read

q. I'm an unmanageable statement; Frankly, I clutter and I am frail. Refactor me to the strategy pattern, and there is hope your will prevail.

a. Switch Statements

For a list of the 22 Code Smells feel free to visit the Code Smells website.

Need help? Here is a list of remaining Code Smells for this riddle series.

Post a comment with your guess :)

~/riddle by me

Edit post on GitHub


Code Smell Riddle #5
Code Smell Riddle #3