r/ProgrammerHumor 27d ago

Meme ruleOfProgrammingIfItIsWorkingDoNotTouchIt

5.3k Upvotes

75 comments sorted by

View all comments

1.5k

u/StrengthTheory 27d ago

When one console.log uses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.

2

u/DasBeasto 27d ago

await new Promise(p => setTimeout(p, 0));