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

Programmer Humor

25531 readers
1072 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
[โ€“] cupcakezealot@lemmy.blahaj.zone 11 points 1 year 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

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.