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

Programmer Humor

19176 readers
939 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 1 month 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 1 month 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.