Comment by lopis
8 hours ago
If developers don't write commit messages, that's a culture problem. At my company we demand that of each other.
8 hours ago
If developers don't write commit messages, that's a culture problem. At my company we demand that of each other.
Totally agree. One thing I really like about HN is it reminds you that nobody's individual experience is indicative of the industry at large.
The parent comment stated "Most codebases I encounter just have "changed stuff" or "hope this works now"." I worked at 6 tech companies in my career and a slew of contracting gigs, and I literally never encountered the problem of commit messages being uninformative. Most of the companies developed strict rules for commit comments like always including an issue number (with occasional [NO-ISSUE] tags allowed for minor changes) or something like Conventional Commits, https://www.conventionalcommits.org/en/v1.0.0/ .