News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by Buttons840 on Tuesday June 17, 2025 @10:37PM (#44306181)
Another underutilized debugging superpower is debug-level logging.

I've never worked somewhere where logging is taken seriously. Like, our AWS systems produce logs and they get collected somewhere, but none of our code ever does any serious logging.

If people like print-statement debugging so much, then double down on it and do it right, with a proper logging framework and putting quality debug statements into all code.

Re:The Grug Brained Developer (2022) by mrkeen on Wednesday June 18, 2025 @03:02AM (#44307338)
If you want to double-down on logging and do it right: make your logs fit for computer consumption and the source of truth.

That's all event-sourcing is.