4 ms·
Every word of the comment is in the code except "the". That level of redundancy is always bad. Yes, always.
by cactacea 2y ago
Every word of the comment is in the code except "the". That level of redundancy is always bad. Yes, always.
- soulofmischief 2y agoA well-placed comment serves as an anchor for the eye when skimming large amounts of code, and provides a sanity check. This is something you would come to appreciate when working in certain environments. Does this mean every line of code needs an accompanying comment? No, that is absurd. But what's also absurd is the amount of judgement and unwarranted extrapolation over this particular bit of code, and the general defensiveness which most people in this thread seem to be engaging in. I leave comments like this sometimes if I think it helps increase code clarity.