add exception for uncuddling brackets
This commit is contained in:
parent
6b6edf959d
commit
0612b5fa68
@ -126,6 +126,15 @@ between it and the opening control block statement. Examples:
|
|||||||
|
|
||||||
do {
|
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
|
Spacing around Parentheses
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user