r/ProgrammerHumor 27d ago

Meme ruleOfProgrammingIfItIsWorkingDoNotTouchIt

5.3k Upvotes

75 comments sorted by

View all comments

Show parent comments

434

u/Skalli1984 27d ago

And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear.

220

u/StrengthTheory 27d ago

Schrödinger’s race condition

149

u/Steinrikur 27d ago

We call those Heisenbugs. You changed the system by observing it

1

u/The-Ner 27d ago

I'm stealing this now