News for hackers. Stuff that matters.
Re:I’m a productive programmer with a memory of a fruit fly by m000 on Monday September 19, 2022 @07:08PM (#32905382)
> some other programmer can come along and read it and say "ok, I understand why this was written this way, and the preconditions motivating it are no longer valid. maybe I can refactor."

I appreciate having this kind of information available, but it often gets too verbose for my taste to keep as inline comment. For this, I typically push this kind of documentation to the commit messages. This however requires very disciplined use of git: you need to "massage" your commits so each of them is a self-contained change, and OFC avoid squashing during PR merges. Then, a git blame + git show will bring up the relevant information.

There are no comments on this comment yet.