From owner-freebsd-chat Mon Jan 22 10:41:11 2001 Delivered-To: freebsd-chat@freebsd.org Received: from morpheus.skynet.be (morpheus.skynet.be [195.238.2.39]) by hub.freebsd.org (Postfix) with ESMTP id 299D837B400 for ; Mon, 22 Jan 2001 10:40:55 -0800 (PST) Received: from [10.0.1.2] (dialup561.brussels.skynet.be [195.238.21.49]) by morpheus.skynet.be (Postfix) with ESMTP id CEB131490C; Mon, 22 Jan 2001 18:14:19 +0100 (MET) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <20010122170600.D4456@dogma.freebsd-uk.eu.org> References: <20010122170600.D4456@dogma.freebsd-uk.eu.org> Date: Mon, 22 Jan 2001 18:13:57 +0100 To: j mckitrick , freebsd-chat@FreeBSD.ORG From: Brad Knowles Subject: Re: silly C style question Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 5:06 PM +0000 2001/1/22, j mckitrick wrote: > When using opening and closing braces for a loop or other control structure, > most coders put the opening brace on the same line as the decision > statement. Right, that's typical C style, the sort of which you can find in K&R, etc.... > It seems to me, using it in more of a block format would make > the code easier to read. Does this make sense? That's typical Pascal style. I much prefer it myself, but I've never found any style guide anywhere that actually recommended it over C style. -- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message