4 ms·
Especially when the code is changed and the comment is now incorrect...
by loco5niner 11y ago
Especially when the code is changed and the comment is now incorrect...
- talmand 11y agoThe problem isn't the now incorrect comment, it is the person that didn't update the related comment.
- jdbernard 11y agoA wiki page/word doc is even easier to forget to update than in-line comments.
- dspillett 11y agoThat is a "useful" code smell: if the code and the comments disagree, assume both are potentially wrong, handle with extreme care, and fix ASAP where possible.