3 ms·
Really, what people think should go in comments should instead go to commits, which is actually a snapshot of what the author was trying to achieve during a poi
by bobthepanda 4y ago
Really, what people think should go in comments should instead go to commits, which is actually a snapshot of what the author was trying to achieve during a point in time.
Inline comments just become out of date or mangled. Commit revisions are the source of truth.
- biofox 4y agoThe problem with commit messages is that they quickly get buried in the log, and are difficult to dig up. It's not perfect, but comments stay with the code throughout the versions.
- bobthepanda 4y agogit blame will usually give you the last edit of a line, which I find is fairly easy to see the last time it was changed (and then if you want to know how things were done earlier, do the same on its parent commit)