forked from scott/threaded_network_chat
ugh
This commit is contained in:
2
STYLE.md
2
STYLE.md
@@ -37,7 +37,7 @@ I recommend skimming over these for inspiration.
|
||||
- return type goes on its own line,
|
||||
- function name() is on a line below that, and
|
||||
- open bracket `{` after that.
|
||||
- `for`, `if`, `while`, etc. statements that only contain one line
|
||||
- `for`, `if`, `while`, etc. statements that only contain one line
|
||||
- Use `/* comments */` for permanent comments, `// comments` for temporary ones e.g. `TODO`'s or notices
|
||||
- **Try to make every line 100 characters wide or less.**
|
||||
- Start source files as `.cc` straight away, even if they're pure **C**.
|
||||
|
||||
Reference in New Issue
Block a user