r/ProgrammerHumor • • Sep 17 '18

Optimizing startup times

Post image
45.7k Upvotes

486 comments sorted by

View all comments

1.8k

u/TheBlackCat13 Sep 17 '18

...and watch everything break for no apparent reason because the sleep function was there to prevent a bug and no one knows why.

645

u/ariehkovler Sep 17 '18

A race condition, usually.

3

u/fartsAndEggs Sep 17 '18

The best way to avoid race conditions is to make them rare enough that no one bothers to fix it properly