Code Smell Riddle #6

q. I tend to be out of date with your work;
You should rename instead of report.
And if you must then just answer why,
Let the business rules assert support.

a. Comments

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

Read More »

Code Smell Riddle #5

q. Given two hierarchies with similar code,
Shotgun surgery can be quite tragic,
But if you move stuff here to there,
Then the result consolidation is magic!

a.

If you need help, here is a LIST of the remaining Code Smells for this riddle series.

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

Post a comment with your guess :)

~/riddle by me

Read More »

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

Read More »

Code Smell Riddle #3

q. You can find me in a lot of different places;
I tend to live in a distinguishable clique.
I am proliferated across your code base;
extract me to an object, if you’re a geek.

a. Data Clumps

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

Read More »

Code Smell Riddle #2

q. I like to know what’s going on elsewhere.
So, I spy on my neighbor object’s inside.
I’m a green-eyed monster on the prowl.
I don’t know what I’d do if I was denied.

a. Feature Envy

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

Read More »