3 ms·
>that won't rot like an inline code comment would It's a balance between rot and visibility, right? Unless you code with commit messages always visible, you ha
by ses1984 7y ago
>that won't rot like an inline code comment would
It's a balance between rot and visibility, right? Unless you code with commit messages always visible, you have to go out of your way to look at them. If the interesting line changes even a little bit, you could hide the commit message explaining everything with one that explains a small change.
If I could only have one, I would rather have comments visible in the code, and control they rot through change review, but of course finding a balance between both is the best.
- saagarjha 7y ago> Unless you code with commit messages always visible I do this when tracking down bugs or trying to figure out the design of a particular component.