14 ms·
Comments is a mostly subjective topic. In this case, I have two arguments against the comment. First, it just says what the three simple lines of code above di
by qznc 7y ago
Comments is a mostly subjective topic. In this case, I have two arguments against the comment.
First, it just says what the three simple lines of code above did. Comments should rather focus on the "why" to provide information which the code cannot give.
Second, assertions should be code (or somehow machine readable).