WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: conditional on one line (was Re: [XenPPC] [pushed] [ppc] OF write me

On Wed, Apr 26, 2006 at 02:51:02PM -0400, Maria Butrico wrote:
> The most efficient (in terms of our valuable time) way to resolve this 
> is to write and agree to a style list.  Most people will conform to
> it.

Documentation/CodingStyle in your favorite linux kernel tree gets my
vote.

Quoth: 

Don't put multiple statements on a single line unless you have
something to hide:

          if (condition) do_this;
            do_something_everytime;

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel