Coding: Comments

Comments help anyone who has to read the code. This is most often another programmer. It could also be the original programmer, some time later, at which point he has forgotten exactly what some algorithm does, or the use of some variable. Therefore, it is imperative that comments be accurate! Even a total lack of comments is far preferable to comments that are untrue.

To ensure that there are sufficient comments, and that they are accurate: