3 ms·
I kind of wish there was a verifier for function/statement comments to flag inaccurate comments (besides interface descriptions + general comment at the top of
by spicybright 5y ago
I kind of wish there was a verifier for function/statement comments to flag inaccurate comments (besides interface descriptions + general comment at the top of a function.)
Sort of a combination of a reverse github auto-pilot metric and checking how old a comment is based on it's surrounding code.
You could even syntax highlight based on how accurate it thinks it is like how down voted HN comments fade out.
- xwdv 5y agoPeople don’t care about accurate comments, they care about comments they agree with.
- Natsu 5y agoYou could flag how many revisions it has been since the comments were updated in a function as compared to the code, but if that became a metric, someone would probably start optimizing for it by making trivial comment changes without doing real review.