Make It Stop! 21Nov08 | 0
if(true) return false;
Right now, my current project at work involves taking some incredibly crappy code and refactoring it so it’s only partially crappy. Step two will be making it even less crappy. So right now I am dealing with completely ridiculous code that looks like that line above. Actually that line is one I encountered today. This stuff is so bad it actually makes me laugh, just before I fight back the tears that come with the realization that I have to fix it.
I suppose the worst part is this crappy code is deployed in a production system now considered business critical with a few thousand active users. It really is miraculous that it runs at all. Quite scary.