this post was submitted on 22 Jun 2023
454 points (99.1% liked)

Programmer Humor

32285 readers
109 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
[–] DonjonMaister 25 points 1 year ago (4 children)

Stage 4.5: console.log() everything.

[–] [email protected] 13 points 1 year ago (2 children)

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

[–] [email protected] 9 points 1 year ago (1 children)

Race conditions are the worst

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

Good ol’ Heisenbugs.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 7 points 1 year ago

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

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

Step 4.6: Get another drive for the logs.

[–] [email protected] 1 points 1 year ago

“Oh..that’s why it’s not working”