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

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

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

Thursday, September 25, 2008

IE8 Beta 2 Pros


I do like the Developer Tools that are embedded in IE 8 Beta 2. They are about equivalent to what Firebug is to Firefox, which is a great step in the right direction.

I have also noticed that the errors returned from JavaScript exceptions are much more descriptive and accurate compared to IE7 or before.

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

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

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

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

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

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

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

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

Monday, September 15, 2008

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

Friday, September 12, 2008

Code Smell Riddle #1

q. Using me can be overly cumbersome and result in a brittle implementation,
But I am better than using numerous global variables to help you proceed,
I might actually be acceptable, but you shouldn’t think you’re the exception;
A fragrant approach would be to pass just enough data to get what you need.

a. Long Parameter List

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 10, 2008

AntiPattern Riddle #14

q. Depending on the color of your tinted glasses,
The model that you are using may be contrary.
OOA&D is a great approach to design a system,
But your results can most assuredly vary.

a. Ambiguous Viewpoint

For a list of the 14 AntiPatterns feel free to visit the Software Development AntiPatterns website.

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

Post a comment with your guess :)

~/riddle by me

Monday, September 08, 2008

IE8 Beta 2 Cons

After much internal debate, today I decided to finally install IE8 Beta 2 on my local development machine.

Unfortunately, my initial experience was filled with annoyance and disappointment.


I first became frustrated by a crazy warning that stated that "Internet Explorer is currently running with add-ons disabled. Click here to manage, disable, or remove your add-ons." Since it said all my add-ons where disabled I thought I'd go check them out, but when I looked all my add-ons were enabled!

After some trial, error, and Googling, I found that the Google Toolbar was the cultrpit and I needed to upgrade to Google Toolbar 5 Beta to resolved the crazy yellow warning. After upgrading, this error went away, and I was actually able to use the Google Toolbar, wheww...


As the day progressed, I started to notice some weird horizontal lines appearing in my browser. Apparently, IE8 Beta 2 wasn't fast enough to redraw certain parts of the web page, so I would these horizontal lines as I scrolled up and down.

I wasn't very impressed with the speed of the rendering as well. It did seem faster than IE7, but I guess I have been spoiled after using Google Chrome for the past week or so.

Stayed tuned and I will give you 'IE8 Beta 2 Pros' in my next post.

AntiPattern Riddle #12

q. Be wary of a simian and a keyboard;
A work of Shakespeare he will not smash.
I perform the best in typic scenarios,
But if you get dotty then I may crash.

a. Input Kludge

For a list of the 14 AntiPatterns feel free to visit the Software Development AntiPatterns website.

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

Post a comment with your guess :)

~/riddle by me

AntiPattern Riddle #13

q. I am a dinosaur relic extant in an OO world;
trying to subsist in my old procedural ways.
I am adroit at finding a byzantine solution,
but in the end it may be one gargantuan haze.

a. Functional Decomposition

For a list of the 14 AntiPatterns feel free to visit the Software Development AntiPatterns website.

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

Post a comment with your guess :)

~/riddle by me

Friday, September 05, 2008

AntiPattern Riddle #11

q. I encourage you to be cognizant of your surroundings,
because you never know where the next peril may arise.
You'll navigate with a can of Raid Deep Reach Fogger;
Before you know it, the system will need your revise.

a. Walking through a Minefield

For a list of the 14 AntiPatterns feel free to visit the Software Development AntiPatterns website.

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

Post a comment with your guess :)

~/riddle by me

Thursday, September 04, 2008

AntiPattern Riddle #10

q. I'm the best tool you've got,
There is no use looking elsewhere.
Use me in each and every situation;
Resist all other options, beware!

a. Golden Hammer

For a list of the 14 AntiPatterns feel free to visit the Software Development AntiPatterns website.

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

Post a comment with your guess :)

~/riddle by me

Wednesday, September 03, 2008

AntiPattern Riddle #9

q. I don't actually know what the user wants,
Requirements were taken and then handed to me.
I suppose I'll guess what needs to be done,
because my requirements apparently disagree.

a. Mushroom Management

For a list of the 14 AntiPatterns feel free to visit the Software Development AntiPatterns website.

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

Post a comment with your guess :)

~/riddle by me