2 ms·
An outdated comment is at least a very strong signal that the code might be wrong And, you definitely had little experience with under-documented code
by g-b-r 2y ago
An outdated comment is at least a very strong signal that the code might be wrong
And, you definitely had little experience with under-documented code
- GianFabien 2y agoFor me the quality of comments, somewhat based on the metrics that @renhanxue mentions, is a code smell. If code is poorly commented (by my standards) then I treat the actual code with suspicion.
- dspillett 2y ago> An outdated comment is at least a very strong signal Also: if the code and the comments appear to disagree, there is a reasonable likelihood that both are wrong in some way.