this post was submitted on 12 Aug 2024
1019 points (99.5% liked)

Programmer Humor

19488 readers
1064 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] 11 points 2 months ago (1 children)

whats wild is that all the returned values were the same this is only for a log value that probably zero people check

[โ€“] [email protected] 15 points 2 months ago

I believe rule of thumb is to track/log at least one level deeper than what you show to the end user, to ease with troubleshooting and debugging.

Beyond that, logs are only useless until they aren't, and then if you don't have them you're in for a universe of pain.