4 ms·
I find it easier to remember to add meaningful comment to commit (we have commit hook that prevents you from commiting without comment), than to remember to cha
by ajuc 16y ago
I find it easier to remember to add meaningful comment to commit (we have commit hook that prevents you from commiting without comment), than to remember to change every comment in source code that I touch (especially if it is far from the lines of code I changed - eg in the class header, or in the header of the base class when I only change some method in derived class). Commit messages tells me on each line, why it is here (we have policy of adding JIRA task number to the commit message).