…oh I hate it. Especially if it was written in a great hurry back then. Do you know the surprise when you look at old and dirty code, asking yourself if you were the one who wrote that crap? I’m currently in the situation of improving some things of pre-alpha stage software I wrote last year.
First, when you start reviewing the code and playing with it, no danger seems to emerge from it besides a strange feeling of uncertainty. Then, however, when you alter the first line of it, all hell breaks loose. The requested features for the new version depend on changing a lot of stuff in the old code, or updating the third party libraries results in messing up the whole thing. Or even worse, your own code just breaks apart and stops working and you have no idea why.
That’s the point where you start thinking of rewriting it from scratch, but then end up in just doing some patchwork to get it up and running again. For at least another year or until the next feature requests arrive.
For those of you thinking something like “oh no, we’re never gonna play a game by this guy” – no worries, I wasn’t talking about game related software this time, but of one of the software projects I had to work on during my studies at the Carinthia University of Applied Sciences.