Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 13:29:12 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: Style(9) question
Message-ID:  <20021122212912.GA27562@rot13.obsecurity.org>
In-Reply-To: <20021122193040.GA23078@dogma.freebsd-uk.eu.org>
References:  <20021122193040.GA23078@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 22, 2002 at 07:30:40PM +0000, Jonathon McKitrick wrote:
> 
> In the standard, it says control statements with only one statement executed
> should not have braces.  I've heard it said that this could be a maintenance
> issue, since braces will need to be added if any other statements need to
> be grouped with that condition.  Isn't it a good idea to add them the first
> time the statement is written, rather than counting on a future maintainer
> to do so?

Evidently the authors of style say "no".

Kris

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021122212912.GA27562>