[RFC] CodingStyle
Mike Frysinger
vapier at gentoo.org
Thu Feb 23 15:55:45 UTC 2006
On Thursday 23 February 2006 10:48, Rob Landley wrote:
> One thing that I do is that even though I usually go "if (thing) {", when I
> have to break the if statement into multiple lines anyway, I move the curly
> bracket to the start of the next line, because I find:
>
> if (lots of stuff &&
> more stuff)
> {
> thingy;
> }
>
> Is more obvious than:
>
> if (lots of stuff &&
> more stuff) {
> thingy
> }
>
> Your mileage may vary.
agreed ... so much that i think we should note this in the style guide
-mike
More information about the busybox
mailing list