this post was submitted on 10 Sep 2023
293 points (94.3% liked)

Programmer Humor

19623 readers
2 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 1 year ago* (last edited 1 year ago) (7 children)

Bad variable names and then awful "temporary" log lines... I feel attacked this morning. ;)

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (6 children)

It blows my mind how often i see people using temp logs for debugging when breakpoints exist

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

When the issue is only seen after hours of runtime, logging is more practical.

[–] Omgpwnies 3 points 1 year ago

Or when the overhead of the debugger causes the issue to never happen

load more comments (3 replies)
load more comments (4 replies)
load more comments (4 replies)