by oftenwrong · 6y ago · 0 comments
I recently worked with a person who was anti-logging. His argument was that logging is only necessary when the code path is not easy to assume solely based on the input. This is true, of course, but his mistake was assuming it is possible to guarantee that level of predictability in non-trivial operations. It wasn't long before he was adding logging to his code to figure out an issue that occurred rarely and only in production.
No comments yet.