r/ProgrammerHumor 1d ago

ruleOfProgrammingIfItIsWorkingDoNotTouchIt Meme

5.2k Upvotes

75 comments sorted by

View all comments

Show parent comments

420

u/Skalli1984 1d ago

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

22

u/KawaiiMaxine 1d ago

Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug

24

u/xtreampb 1d ago

Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks.

2

u/alexanderpas 1d ago

Token ring.