From owner-freebsd-chat Fri Nov 22 13:29:16 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3FDC37B407 for ; Fri, 22 Nov 2002 13:29:15 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-106-47.dsl.lsan03.pacbell.net [64.169.106.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id A968943E88 for ; Fri, 22 Nov 2002 13:29:14 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 1E5D466C61; Fri, 22 Nov 2002 13:29:14 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id C05CB12AC; Fri, 22 Nov 2002 13:29:12 -0800 (PST) Date: Fri, 22 Nov 2002 13:29:12 -0800 From: Kris Kennaway To: Jonathon McKitrick Cc: freebsd-chat@freebsd.org Subject: Re: Style(9) question Message-ID: <20021122212912.GA27562@rot13.obsecurity.org> References: <20021122193040.GA23078@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021122193040.GA23078@dogma.freebsd-uk.eu.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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