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

Programmer Humor

19809 readers
277 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 10 points 4 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 4 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.