The five stages of debugging | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

The five stages of debugging

1.Denial "I'm sure this is right" or "This is impossible" 2. Bargaining/self blame "Can you please work? I only have 1 hour to complete this!" or "if I fix this, I'll only have 14 errors left!" 3.Anger "You better get your @&!#

amp;@ @$ working or I'll @$!& the #$@! out of you!" 4. Depression *weeps* "kill me now" 5.Acceptance *eyes the computer as the coder slowly walks out of the room to take a break" what do y'all think? how do you react?

3rd Sep 2017, 2:25 AM
HJ🐓TDM
3 Answers
+ 13
1. Realization. " Wow. The codes I write are truly impecca --- Erm, no, the program isn't producing correct results. dARN UNHOLY CODES F -- " 2. Identifying errors. " Well ok, I've placed print statements everywhere and now I see that input 89 causes overflow. This should be an easy fix. Datatype. " 3. Implementing fix. " The fix works, but now the code looks bloat because it isn't optimised for the tweaks I made initially. No, I can't live with this piece of abomination. " 4. Backspacing. " Yep, I don't need this. That seems to be bloat. Delete that one too. Whoa, I don't even need these 3 header files lol, what was I even thinking. " 5. Release. " K guys, fix implemented. Hope it runs without errors. "
3rd Sep 2017, 3:21 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
lol that's me 😄😄 I have add something though 2.5. Fixing errors (not really) *Compilation error* "oh okay, so that's the error. let me run this again. I cant believe how idiotic I was to write that line of code--WHAT? THIS WASN'T THE ERROR? COMPILE YOU PIECE OF S----"
3rd Sep 2017, 3:23 AM
HJ🐓TDM
0
Well I normally have two reaction: 1.Why isn't this code running😤 2.Why is this code running😮
13th Oct 2017, 6:19 AM
Poet🎭
Poet🎭 - avatar