svn commit: trunk/busybox/docs
vapier at busybox.net
vapier at busybox.net
Fri Feb 24 01:18:25 UTC 2006
Author: vapier
Date: 2006-02-23 17:18:24 -0800 (Thu, 23 Feb 2006)
New Revision: 14252
Log:
add exception for uncuddling brackets
Modified:
trunk/busybox/docs/style-guide.txt
Changeset:
Modified: trunk/busybox/docs/style-guide.txt
===================================================================
--- trunk/busybox/docs/style-guide.txt 2006-02-23 23:13:16 UTC (rev 14251)
+++ trunk/busybox/docs/style-guide.txt 2006-02-24 01:18:24 UTC (rev 14252)
@@ -126,7 +126,16 @@
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
~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the busybox-cvs
mailing list