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
Uh…that’s the way I feel with my own code :-p
(but I’m working hard to change the situation!)
kr1zz: everyone can improve their coding style and software design… everyone has skeletons in their closet.