this post was submitted on 22 Jun 2023
611 points (98.9% liked)

Programmer Humor

32710 readers
826 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 29 points 2 years ago (3 children)

Stage 4.5: console.log() everything.

[–] [email protected] 16 points 2 years ago (2 children)

And then the logging fixes the subtle timing issue causing the problem.

[–] [email protected] 8 points 2 years ago (1 children)

Race conditions are the worst

[–] [email protected] 1 points 2 years ago

Good ol’ Heisenbugs.

[–] [email protected] 1 points 2 years ago

Especially if logging ends up spreading a global mutex around the log file.

[–] danc4498 9 points 2 years ago

We have logging software built in, but I can never remember how to turn it on, so I just console.log

[–] [email protected] 6 points 2 years ago* (last edited 2 years ago)

Step 4.6: Get another drive for the logs.