Bug fixes are part of the programming, whether you like it or not, it will always be there.
He was there until programming was around, and it will be there until we program more.
It is so common that you can find it in many common programming jokes.
And, like Wayne, most people spend a lot more than 20% of their time debugging.
Personally, I believe that debugging is what makes programming fun, not because it is fun in itself, but because you need to fix it for so long, and once you fix it, you get this overwhelming feeling: " WOOHOO! I did it! "
Again, I agree with Wayne that you are trying to use these programming methods, but they are addicted to programming.
One thing that I found useful when debugging is to take a break and then return to your code in a few minutes, preferably after a short conversation with a friend or a phone call, you will be amazed at how quickly you can spotty mistakes, the hardest part is getting the will to stop programming and take a break.
source share