mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
[docs] Update developer notes to discourage very long lines
This commit is contained in:
parent
4bd586607d
commit
aa929abf8d
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,11 @@ tool to clean up patches automatically before submission.
|
||||||
on the same line as the `if`, without braces. In every other case,
|
on the same line as the `if`, without braces. In every other case,
|
||||||
braces are required, and the `then` and `else` clauses must appear
|
braces are required, and the `then` and `else` clauses must appear
|
||||||
correctly indented on a new line.
|
correctly indented on a new line.
|
||||||
|
- There's no hard limit on line width, but prefer to keep lines to <100
|
||||||
|
characters if doing so does not decrease readability. Break up long
|
||||||
|
function declarations over multiple lines using the Clang Format
|
||||||
|
[AlignAfterOpenBracket](https://clang.llvm.org/docs/ClangFormatStyleOptions.html)
|
||||||
|
style option.
|
||||||
|
|
||||||
- **Symbol naming conventions**. These are preferred in new code, but are not
|
- **Symbol naming conventions**. These are preferred in new code, but are not
|
||||||
required when doing so would need changes to significant pieces of existing
|
required when doing so would need changes to significant pieces of existing
|
||||||
|
|
Loading…
Add table
Reference in a new issue