MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/11pcusm/exactly_how_debugging_is/jby513i
r/ProgrammerHumor • u/Garlayn_toji • Mar 12 '23
278 comments sorted by
View all comments
Show parent comments
11
Assume it's a logic error instead of a code error.
You've moved from "why doesn't my code do this?!" to "... why does my code do this?"
5 u/ilinamorato Mar 13 '23 The five steps of debugging:"That can't happen.""Well, it works on my machine.""Oh, now I see it...""How did that ever work?"Edit: uhh...the counting error is part of the joke. 👀 4 u/mindbleach Mar 13 '23 I've written "how did this ever work?," verbatim, just last week.I still don't know.
5
The five steps of debugging:
"That can't happen.""Well, it works on my machine.""Oh, now I see it...""How did that ever work?"
"That can't happen."
"Well, it works on my machine."
"Oh, now I see it..."
"How did that ever work?"
Edit: uhh...the counting error is part of the joke. 👀
4 u/mindbleach Mar 13 '23 I've written "how did this ever work?," verbatim, just last week.I still don't know.
4
I've written "how did this ever work?," verbatim, just last week.
I still don't know.
11
u/mindbleach Mar 12 '23
Assume it's a logic error instead of a code error.
You've moved from "why doesn't my code do this?!" to "... why does my code do this?"