Re:Why Not Comments
by __MatrixMan__ on Tuesday September 10, 2024 @09:14PM
(#41507275)
I've got no trouble with that perspective, but wouldn't a log message scratch the same itch, plus more?
[ Parent
| on HN ]
Re:Why Not Comments
by PlunderBunny on Wednesday September 11, 2024 @12:49AM
(#41508110)
I've never worked in a company where the commit log message wasn't just a link/reference to something in a bug tracker.
I feel like a 'what this block of code does' comment is different from 'what is this change, and why did I make it' commit message.
Re:Why Not Comments
by porridgeraisin on Wednesday September 11, 2024 @01:39AM
(#41508316)
They meant logging-logs in the code itself:
log.Debugf("Foo is: %#v", ...) //You think: this is probably filtering code log.Debugf("Foo without X is: %#v", ...)