Comment by Thorrez
6 years ago
Can't you just add comments to the actual code saying those things? I've seen code comments saying those exact things.
6 years ago
Can't you just add comments to the actual code saying those things? I've seen code comments saying those exact things.
There’s an art to that, I’ve seen new code get between the comment and the code, and since the comment is in a separate commit, it’s difficult to go back ten refactorings later to answer why. The most interesting bug fixes I do end up exploiting the commit history. Yes it’s hidden in plain sight, but it’s also more reliable.
These days we treat code as a living breathing thing. No reason we can’t do the same to commits.