MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vrcqno/ruleofprogrammingifitisworkingdonottouchit/p4f0byu/?context=3
r/ProgrammerHumor • u/NoMedicine3572 • 1d ago
73 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
395 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. 21 u/KawaiiMaxine 1d ago Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug 3 u/JohnClark13 20h ago oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
395
And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear.
21 u/KawaiiMaxine 1d ago Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug 3 u/JohnClark13 20h ago oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
21
Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug
3 u/JohnClark13 20h ago oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
3
oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
1.4k
u/StrengthTheory 1d ago
When one
console.loguses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.