diff options
-rw-r--r-- | docs/style-guide.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/style-guide.txt b/docs/style-guide.txt index d7d8e5ec7..71eb62914 100644 --- a/docs/style-guide.txt +++ b/docs/style-guide.txt @@ -126,6 +126,15 @@ between it and the opening control block statement. Examples: do { +Exceptions: + + - if you have long logic statements that need to be wrapped, then uncuddling + the bracket to improve readability is allowed: + + if (some_really_long_checks && some_other_really_long_checks \ + && some_more_really_long_checks) + { + do_foo_now; Spacing around Parentheses ~~~~~~~~~~~~~~~~~~~~~~~~~~ |