This is a great example of why hyphens are important. The blog is about why-not comments, but the title is ‘why not comments’, which has a very different meaning, I almost skipped it because I expected the latter.
I do this a lot, when you or someone else who’s working on the same codebase comes back to it, it’s important to have this rationale. If it’s a temporary workaround, this reminder lets you try the better solution every once in a while, or leave it alone if it’s fine this way.
At work I’ve gotten in the habit of looking at the Git blame when I want to know “why not”. Comments are fine, too, but I sometimes just end up looking at the Git blame for the comment to get the extra context (who, when) anyway.
This is a great example of why hyphens are important. The blog is about why-not comments, but the title is ‘why not comments’, which has a very different meaning, I almost skipped it because I expected the latter.
I do this a lot, when you or someone else who’s working on the same codebase comes back to it, it’s important to have this rationale. If it’s a temporary workaround, this reminder lets you try the better solution every once in a while, or leave it alone if it’s fine this way.
At work I’ve gotten in the habit of looking at the Git blame when I want to know “why not”. Comments are fine, too, but I sometimes just end up looking at the Git blame for the comment to get the extra context (who, when) anyway.