I will probably be a minority, but I just try as hard as possible to keep my code as flat as possible. When I have tests, this means I can write a test, reproducing the issue, in fifteen minutes or less and go wild with log.Printf from there. And, I’ll have a test case after snaptube vidmate I’m done. When I don’t have tests, I just add slightly more of log.Printf (and don’t have a test case afterwards ).
1 Like