[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: to use braces or not? (was: Re: [PATCH]: A newer, better, svndiff)

From: Alex Holst <a_at_area51.dk>
Date: 2002-02-20 08:40:28 CET

Quoting Greg Stein (gstein@lyra.org):
> > We don't generally put braces around a single-line body of a control
> > statement.
>
> Actually, I don't believe there is a prevailing opinion one way or another
> for this. Some of us tend to keep them in there, in case future changes need
> them. Others tend to skip the braces.

Speaking from a code review point of view, the more the consistency the
better -- in all areas. It would help if these personal styles were
overruled by a project standard. Lots of little details like these can
help speed up an audit.

-- 
I prefer the dark of the night, after midnight and before four-thirty,
when it's more bare, more hollow.                  http://a.area51.dk/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.