News for hackers. Stuff that matters.
Re:Writing system software: code comments by u801e on Sunday October 07, 2018 @12:15PM (#18161277)
> Also I don't trust comments, I have to see commit history

That only works if the commit message is informative. A commit message that says "updated tests" is just as informative as a comment that says "assign value to a" (following your code comment example).

Commit messages are as, if not more important, than code comments (given VCS tools like git blame that can associate code changes with a comment explaining what was done and why).

Re:Writing system software: code comments by ozim on Sunday October 07, 2018 @01:04PM (#18161558)
I don't look at commit messages either, I look at diffs of file I am working on.