Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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", ...)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: