News for hackers. Stuff that matters.
Re:Why Not Comments by g-b-r on Tuesday September 10, 2024 @07:58PM (#41506874)
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

Re:Why Not Comments by GianFabien on Tuesday September 10, 2024 @08:26PM (#41507041)
For 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.
Re:Why Not Comments by dspillett on Wednesday September 11, 2024 @07:11AM (#41510206)
> 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.