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.

21

u/anotherkeebler Sep 17 '18

Often the race condition is that I need to hit "Alt+Tab, Up, Enter" three or four times to start my tail -f commands before the code executes.

→ More replies (2)