19 Sep 2008
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 »
19 Sep 2008
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 »
18 Sep 2008
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 »
17 Sep 2008
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 »
15 Sep 2008
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 »