mr_ped Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
Experienced Contributor
And honestly, I strongly suggest to write code without bugs at first place. Saves lot of time and nerves later.
(unit testing and test driven development helps a bit with this, but even with them when you hit some ugly bug, you will truly regret it... and I have no good advice in such case, it's simply pain of being a software developer. But it will help to catch many little bugs very early and with minimal effort. If you work in old fashion and you are not pure genius, those little bugs will quickly get very costly and tedious.)