The How, Not the Why: The Code SOD over at the Daily WTF today demonstrates something I’m crazy guilty of.
Why write comments that describe nothing more than exactly what the following line of code does? Why, why, why?!
I do this all the time. In fact, that code sample could have very easily been one of mine. I comment just for the sake of commenting, when a split-second review of the code would reveal the same thing.
When you really need a comment is when you do something that isn’t obvious on first glance. Comments in those situations are the really critical thing.