What is Nostr?
mleku
npub1fjq…leku
2025-01-08 08:16:39
in reply to nevent1q…msg0

mleku on Nostr: there is an idiotic mentality amongst programmers that log printing is a "weak" ...

there is an idiotic mentality amongst programmers that log printing is a "weak" method of debugging problems and so you see in most codebases, logging is an afterthought if it appears at all, and trace logging is nonexistent

my code often has bugs that happen on such short time scales that i MUST use log printing to get post mortems when my code fails, and i just use it most of the time, and then sometimes i remove some of the logs once i'm confident the code is working, because often the logging for the debugging process can be very noisy and crowd out the next thing i work on
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku