// The changes would go under the existing "Guidelines section"
< our current guidelines>
- Add comments to explain non-obvious decisions, or contextual knowledge that can be forgotten.
- Conciseness is important.
- Comment should start with an uppercase letter, and end with a period.
- If a question can be answered by looking at the code, a comment is probably unnecessary.
- A comment should answer "Why was this done this way?" two years down the line. If it doesn't, it is probably unnecessary, or should be rewritten.
- If some logic depends on external factors or tools, a comment capturing the assumptions made at implementation time may be useful.
- If the comment refers to work that needs to be done, create an issue for it and link it in your comment.