5 stages of Bug fixing
This is a reminder to myself, an important lesson I sometimes forget.
The most important step in fixing any programming bug, is accepting the fact that there is a bug in the first place. After years of coding, sometimes we think that we are immune to writing buggy code. If a customer complaint or an issue,we might think, “ah, he just misconfigured his server” or that something went wrong during installation. That would be the first hurdle towards finding the bug, fixing it and making our software better.
So, if an issue arise, accept it as a bug in our code and start looking for solution. Ehm, this actually remind me of the 5 stages of grief.
- Denial – There is nothing wrong with my code.
- Anger – Damn it, can you just let it go and check your server you idiot.
- Bargaining – Ok, maybe there is something here, but could you please ask your web hosting company or maybe this is really extremely rare situation.
- Depression –Shit, the problem is still there. What the hell is going on here.
- Acceptance – I see, there really is a bug in my code. Ok, I’ll get to work to fix it.