Update 'Coding Style'
parent
8782bbace1
commit
ab274a4a22
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ while ((c = *str++))
|
|||
hash = (hash * 33) ^ c;
|
||||
}
|
||||
```
|
||||
Resist the urge to reindent everything, or to use an inconsisent style. Make sure that your preferred editor respects the indentation rules so your contribution is respectful of the code's customs.
|
||||
|
||||
### Line Continuation
|
||||
|
||||
Continuation lines should align wrapped elements with the first argument (excluding reference operators) or use a hanging indent. When using a hanging indent, there should be no arguments on the first line and all subsequent "hanging" lines should be indented with 2 spaces in relation to the calling command:
|
||||
|
||||
#### Aligned Along First Deliminator
|
||||
|
|
Loading…
Reference in a new issue