very formatting stuff

This commit is contained in:
2026-03-09 13:05:32 -05:00
parent 039e9abef5
commit 3f899a974f
2 changed files with 3 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ The length of a function name, variable name, et cetera should be directly propo
#### Don't
- abbreviate global variables,
- abbreviate global variables **EVER**,
- mention the data type in a variable name,
- use a full word where an abbreviation will do
- (especially not in a variable that will die 5 lines later),
@@ -70,7 +70,7 @@ The length of a function name, variable name, et cetera should be directly propo
#### Do
- abbreviate extremely short-lived variables to one letter,
- e.g. `for (int index=0, index<10, i++)` -> `for (int i=0, i<10, i++)`
- e.g. `for (int index = 0, index < 10, i++)` -> `for (int i = 0, i < 10, i++)`
- break any rule if following it ruins the readability
## Source File layout
@@ -120,4 +120,3 @@ div_numb(int n, int d)
}
```