any good way to add logging without contaminating the codebase?
Opened this issue · 2 comments
cool-RR commented
any good way to add logging without contaminating the codebase?
sproaty commented
I believe that good logging can replace many code comments. I've recently been adding logging (quite a lot of debug stuf) to my program and it hasn't made the code any worse.
cool-RR commented
Yeah, I guess it helps sometimes. Just as long as you don't have log lines like "Entering the foobar function" like some codebases that I have to work for in contract jobs do.