cool-RR/GarlicSim

any good way to add logging without contaminating the codebase?

Opened this issue · 2 comments

any good way to add logging without contaminating the codebase?

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.

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.