3 ms·
I agree. The relevant comment is far away. It’s a local variable so it seems that there would be little impact in renaming it (and the other two). But if the
by gumby 6y ago
I agree. The relevant comment is far away.
It’s a local variable so it seems that there would be little impact in renaming it (and the other two). But if the local (kernel in this case) coding conventions discourage variable renaming, a brief comment referring to the later comment would be worthwhile.
Over commenting is a problem, but this would a good use case if renaming is not appropriate.