[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: conditional on one line (was Re: [XenPPC] [pushed] [ppc] OF write method does not handle carriage return)



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.