3 ms·
When someone is changing a piece of code, how often do you think they will go through the commit history to see if someone else tried to do that same thing? Co
by bcbrown 11y ago
When someone is changing a piece of code, how often do you think they will go through the commit history to see if someone else tried to do that same thing?
Commit history is very useful for forensics, and I strongly encourage writing useful commit messages, but if you want to say very clearly "Do not try this!", that shouldn't be buried in history, but be clear in the code itself.
That's not to say the best way to do that is just commented-out code, of course.