Date: Fri, 22 Nov 2002 13:44:05 -0800 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Jonathon McKitrick <jcm@FreeBSD-uk.eu.org> Cc: freebsd-chat@FreeBSD.ORG Subject: Re: Style(9) question Message-ID: <20021122214405.GA11011@HAL9000.homeunix.com> 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
Thus spake Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>: > 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? Your complaint is a specific form of ``I don't like $requirement in the style guide, can we change it?'' Everyone has a list of criticisms like this, and that would be fine if we all had the same set of beliefs about what the One True Style(9) should say. (I, for one, don't agree with your specific quibble.) The present style(9) is a compromise that we can all grudgingly agree on, because it's better than having different styles strewn all over the codebase. 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?20021122214405.GA11011>