Sunday, July 13, 2014

The 5 stages of Debugging.


The 5 stages of Debugging.
At some point in each of our lives, we must face errors in our code. Debugging is a natural healing process to help us through these times. It is important to recognize these common stages and realize that debugging will eventually come to an end.

Denial
This stage is often characterized by such phrases as "What? That's impossible" or "I know this is right" A strong sign of denial is recompiling without changing any code, "Just in case".

Bargaining / Self-blame
Several programming errors are uncovered and the programmer feels stupid and guilty for having made them. Bargaining is common "If I fix this, will you please compile?" also, "I only have 14 errors to go!"

Anger
Cryptic error messages send the programmer into a rage. This stage is accompanied by an hours-long and profanity-filled diatribe about the limitations of the language directed at whomever will listen.

Depression
Following the outburst, the programmer becomes aware that hours have gone by unproductively and there is still no solution in sight. The programmer becomes listless. Posture often deteriorates.

Acceptance.
The programmer finally accepts the situation, declares the bug a "Feature", and goes to play some Quake

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...