2 ms·
> Indeed, the very submission is arguing for printf style debugging instead of logging. Like it uses it as the alternative. Yeah, this is a bogus distinction t
by lolinder 2y ago
> Indeed, the very submission is arguing for printf style debugging instead of logging. Like it uses it as the alternative.
Yeah, this is a bogus distinction they're drawing. Logging and printf style debugging are the same thing at different phases of the software lifecycle, which means they can't be alternatives to each other because they can't exist in the same space at the same time.
As soon as your printfs are deployed to prod, they become (bad) logs, and conversely your "printf debugging" may very well actually use your log library, not printf itself.