6 ms·
>You don't want to make someone who is editing code stop to think about how it affects the comments. What's the point of comments then if your general rule is
by tsiki 13y ago
>You don't want to make someone who is editing code stop to think about how it affects the comments.
What's the point of comments then if your general rule is that it should be fine to edit code without changing the comments?
- einhverfr 13y ago> What's the point of comments then if your general rule is that it should be fine to edit code without changing the comments? Not without changing the comments. Without stopping to ponder how two paragraphs of comments fit into the code changes. The comments (aside from API documentation) should annotate the code, not the other way around.