This commit is contained in:
2026-03-09 13:26:51 -05:00
parent 2c61dbcc64
commit ed437d9b05

View File

@@ -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
- no brackets on `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**.