Update coding-guidelines to encourage adding code comments (#2489)

This commit is contained in:
Dongbo Wang
2016-10-18 10:12:20 -07:00
committed by Andrew Schwartzmeyer
parent 5e1661df59
commit d26b1d7155
+8
View File
@@ -82,3 +82,11 @@ over runtime checks.
We produce a single binary for all UNIX variants,
so runtime checks are currently necessary for some platform differences, e.g. macOS and Linux.
## Code comments
It's strongly encouraged to add comments when you are making changes to the code and tests,
especially when the changes are not trivial or may raise confusion.
Make sure the added comments are accurate and easy to understand.
Good code comments would greatly improve readability of the code, and make it much more maintainable.