Focus on documenting the intent behind the code rather than reiterating what the code does. Be mindful of keeping comments up-to-date; outdated comments can be worse than no comments at all.

Leave a Reply

Your email address will not be published. Required fields are marked *