[BusyBox] Re: ifconfig: Clean up. [PATCH]
Rob Landley
rob at landley.net
Mon Jul 25 20:00:53 MDT 2005
On Monday 25 July 2005 09:08, Tito wrote:
> From busybox/docs/style-guide.txt:
>
> Brackets Are Your Friends
> ~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Please use brackets on all if and else statements, even if it is only one
> line. Example:
>
> Don't do this:
>
> if (foo)
> stmt1;
> stmt2
> stmt3;
>
> Do this instead:
>
> if (foo) {
> stmt1;
> }
> stmt2
> stmt3;
>
> Ciao,
> Tito
Wow. That sucks deeply. I hadn't seen that before...
Rob
More information about the busybox
mailing list