I feel like a scuba debugger

I’ve just spent the last two days trying to smash a treacherous bug in a bunch of quite old PHP scripts: each file was very “simple”… no classes or functions, just a black forest of nested if/else statements with a few redirects here and there. It was so messy that I was forced to diff many times the dumps of the database… trying to understand what the hell happens when a user works!

So please, for a couple of days don’t tell me anything on unit testing or something similar: it would be like talking about the benefits of electric cars while many diesel trucks, coming directly from the eighties, are going all around.

Last update: 2008-05-15

2 Comments

  1. Posted December 11, 2007 at 12:34 pm | Permalink

    Uh…that’s the way I feel with my own code :-p

    (but I’m working hard to change the situation!)

  2. Posted December 11, 2007 at 4:57 pm | Permalink

    kr1zz: everyone can improve their coding style and software design… everyone has skeletons in their closet. :)

Post a Comment

Your email is never shared. Required fields are marked *

*
*