q. I have two sets of methods
that basically do the same work.
Change their name and code to match
Or I will certainly go berserk!
a. Parallel Inheritance Hierarchies
If you need help, here is a LIST of the remaining 2 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
Showing posts with label Riddle. Show all posts
Showing posts with label Riddle. Show all posts
Friday, October 31, 2008
Thursday, October 30, 2008
Code Smell Riddle #21
q. A collection of reusable methods,
Can be extremely handy when in a bind,
But can be all together aggravating,
When the desired one, you can not find!
a. Incomplete Library Class
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
Can be extremely handy when in a bind,
But can be all together aggravating,
When the desired one, you can not find!
a. Incomplete Library Class
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
Monday, October 20, 2008
Code Smell Riddle #20
q. I'm not fond of your scavenger games;
I like my things to be easily found.
So please move your code in such a way,
That change doesn't require a look around!
a. Divergent Chang
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
I like my things to be easily found.
So please move your code in such a way,
That change doesn't require a look around!
a. Divergent Chang
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
Tuesday, October 14, 2008
Code Smell Riddle #19
q. Between you and me I tend to be quite the conundrum;
A side effect of complexity way beyond my own good.
Unless you extract me from my overly convoluted mess,
I will forever be thoroughly dazed and misunderstood.
a. Temporary Field
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
A side effect of complexity way beyond my own good.
Unless you extract me from my overly convoluted mess,
I will forever be thoroughly dazed and misunderstood.
a. Temporary Field
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
Monday, October 13, 2008
Code Smell Riddle #18
q. I love to be on the cutting edge of ignorance;
Black boxes are the greatest thing since sliced bread.
But if the smoke and mirrors point to another box,
Then you might as well just send me there instead.
a. Middle Man
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
Black boxes are the greatest thing since sliced bread.
But if the smoke and mirrors point to another box,
Then you might as well just send me there instead.
a. Middle Man
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
Friday, October 10, 2008
Code Smell Riddle #17
q. When you link method to method,
I can get super long really quick.
You should cut out the middle man;
Breaking the hierarchy is the trick.
a. Message Chains
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
I can get super long really quick.
You should cut out the middle man;
Breaking the hierarchy is the trick.
a. Message Chains
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
Tuesday, October 07, 2008
Code Smell Riddle #16
q. I store lots of information goodies,
But I take no action whatsoever.
You should find whoever uses me,
Plan to move their logic, and sever!
a. Data Class
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
But I take no action whatsoever.
You should find whoever uses me,
Plan to move their logic, and sever!
a. Data Class
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
Monday, October 06, 2008
Code Smell Riddle #15
q. You might consider me small potatoes,
but I'm just as qualified as the rest.
Instead of using those elementary types,
why don't you add some tiny object zest!
a. Primitive Obsession
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
but I'm just as qualified as the rest.
Instead of using those elementary types,
why don't you add some tiny object zest!
a. Primitive Obsession
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
Thursday, October 02, 2008
Code Smell Riddle #14
q. You should really learn to keep to yourself;
There are certain places you should never be.
My private places aren't meant for your eyes,
In regard to your behavior, I highly disagree!
a. Inappropriate Intimacy
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
There are certain places you should never be.
My private places aren't meant for your eyes,
In regard to your behavior, I highly disagree!
a. Inappropriate Intimacy
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
Tuesday, September 30, 2008
Code Smell Riddle #13
q. It's one thing to view the future proactively,
And then strategically plan accordingly.
But it's an entire other thing completely,
If you over-architect a system excessively!
a. Speculative Generality
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
And then strategically plan accordingly.
But it's an entire other thing completely,
If you over-architect a system excessively!
a. Speculative Generality
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
Monday, September 29, 2008
Code Smell Riddle #12
q. When you want to update your precious program,
Be prepared to embark on a curious coding quest.
Many different pieces certainly need to change;
To find them all you'll need to deeply invest.
a. Shotgun Surgery
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
Be prepared to embark on a curious coding quest.
Many different pieces certainly need to change;
To find them all you'll need to deeply invest.
a. Shotgun Surgery
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
Friday, September 26, 2008
Code Smell Riddle #11
q. Whoa whoa module global variables,
I think you've propagated like a rabbit.
In addition to the redundant snippets,
You should cut it out like a bad habit.
a. Large Class
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
I think you've propagated like a rabbit.
In addition to the redundant snippets,
You should cut it out like a bad habit.
a. Large Class
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
Thursday, September 25, 2008
Code Smell Riddle #10
q. I'm screaming to be carved into pieces;
I have way too much func inside myself.
If you don't do something relatively soon,
Then time to modify, you'll kick yourself!
a. Long Method
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
I have way too much func inside myself.
If you don't do something relatively soon,
Then time to modify, you'll kick yourself!
a. Long Method
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
Wednesday, September 24, 2008
Code Smell Riddle #9
q. If you look through your vast code base,
And notice code repeated here and there.
You might consider refactoring soon,
Or you'll experience maintenance despair!
a. Duplicated Code
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
And notice code repeated here and there.
You might consider refactoring soon,
Or you'll experience maintenance despair!
a. Duplicated Code
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
Tuesday, September 23, 2008
Code Smell Riddle #8
q. I am the pickiest child that you may ever know.
I only want part of what you gracefully extend.
Many programmers think that I'm not all that bad,
But sharing with a sibling could help to amend.
a. Refused Bequest
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
I only want part of what you gracefully extend.
Many programmers think that I'm not all that bad,
But sharing with a sibling could help to amend.
a. Refused Bequest
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
Monday, September 22, 2008
Code Smell Riddle #7
q. I don't really do all that much for you;
You probably shouldn't even care about me.
It'd be best to move my code elsewhere;
it will save you maintenance, I guarantee.
a. Lazy Class
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
You probably shouldn't even care about me.
It'd be best to move my code elsewhere;
it will save you maintenance, I guarantee.
a. Lazy Class
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
Friday, September 19, 2008
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
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
Thursday, September 18, 2008
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
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
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
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
Wednesday, September 17, 2008
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
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
Subscribe to:
Comments (Atom)