Update CONTRIBUTING.md style guide slightly.

This commit is contained in:
metaprime 2017-07-07 11:00:17 -07:00
parent 5c3c4c84b6
commit 302f0a5a04

View File

@ -69,10 +69,10 @@ Some recommendations:
* Above all, be consistent! * Above all, be consistent!
* Spaces, not tabs. * Spaces, not tabs.
* We prefer "Egyptian brackets": * We prefer "Egyptian brackets" (in `if`, `for`, `while`, `switch`, etc.):
* `if (...) {` * `if (...) {`
* `} else {`
* `} else if (...) {` * `} else if (...) {`
* `} else {`
* `}` * `}`
* Constants in `UPPER_SNAKE_CASE` * Constants in `UPPER_SNAKE_CASE`
* Class names in `PascalCase` a.k.a. `UpperCamelCase` * Class names in `PascalCase` a.k.a. `UpperCamelCase`