From 0612b5fa68a1c41656031c7318b0347bdbdeeb89 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 24 Feb 2006 01:18:24 +0000 Subject: [PATCH] add exception for uncuddling brackets --- docs/style-guide.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~