Thursday, September 18, 2008

Code Smell Riddle #4

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

No comments:

Post a Comment