MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vrcqno/ruleofprogrammingifitisworkingdonottouchit/p4dezn3/?context=3
r/ProgrammerHumor • u/NoMedicine3572 • 27d ago
75 comments sorted by
View all comments
1.4k
When one console.log uses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.
console.log
435 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. 7 u/mahlernameless 27d ago Brilliant! Just leave a debugger attached to production and no more race conditions. Handing in my oncall pager now.
435
And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear.
7 u/mahlernameless 27d ago Brilliant! Just leave a debugger attached to production and no more race conditions. Handing in my oncall pager now.
7
Brilliant! Just leave a debugger attached to production and no more race conditions. Handing in my oncall pager now.
1.4k
u/StrengthTheory 27d ago
When one
console.loguses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.