News for hackers. Stuff that matters.
Re:The Code Documentation Fallacy by Aykroyd on Thursday October 17, 2013 @02:45PM (#6567344)
You can catch garbage comments in code reviews just as easily as you can catch other forms of programming garbage during review. The fact that someone might make a lot of bad comments is not a good argument against commenting, it's a good argument against bad commenting.

I also think that if people are in the habit of having to comment it makes them more likely to document things like expected values of the input, what the return could be expected to be, and if there are any caveats.

There are no comments on this comment yet.