| ||Ask HN: Suggest code commenting guidelines?|
4 points by andrelaszlo on May 29, 2013 | hide | past | favorite | 2 comments |
|If you google for code comment guidelines, you find a lot of rules about indentation and such, but much less information about the actual content of the comments.|
Of course, comments like this are silly:
But I think we can do better than just not being silly.
# adds increment to height
height += inc
Do you use, or have you seen, a good guideline or set of rules for how to write good comments?
| Apply to YC