O
c
t
o
b
e
r
2
0
0
5
Bug Genetics
Yesterday I fixed a bug on a web application we’ve developed.
Not a big deal though: The bug itself only happened twice a year, on 0.3% of the data on one table of the 40 database tables that are used in the web application. But it needed fixing.
The consequence of fixing this bug was that a workaround I had implemented elsewhere now broke. It took me ages to track down what was broken.
It turns out that a year back I implemented a workaround to a bug which I didn’t know existed at that time! Which meant that I didn’t believe that the code I was staring it was a workaround.
So, fixing the bug meant that the workaround was no longer needed. And the most bizarre thing of all: Less Code.

Leave a Reply