forked from scott/threaded_network_chat
update STYLE.md
This commit is contained in:
1 parent
e8d2e015b3
commit
a9ed43b230
1 file changed
+1
-1
@@ -39,7 +39,7 @@ I recommend skimming over these for inspiration.
|
|||||||
- open bracket `{` after that.
|
- 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
|
- Use `/* comments */` for permanent comments, `// comments` for temporary ones e.g. `TODO`'s or notices
|
||||||
- **Try to make every line 120 characters wide or less.**
|
- **Try to make every line 100 characters wide or less.**
|
||||||
- Start source files as `.cc` straight away, even if they're pure **C**.
|
- Start source files as `.cc` straight away, even if they're pure **C**.
|
||||||
|
|
||||||
### C++-specific guidelines
|
### C++-specific guidelines
|
||||||
|
|||||||
Reference in new issue
Block a user