Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 18:13:57 +0100
From:      Brad Knowles <brad.knowles@skynet.be>
To:        j mckitrick <jcm@FreeBSD-uk.eu.org>, freebsd-chat@FreeBSD.ORG
Subject:   Re: silly C style question
Message-ID:  <v0422080cb6921a7791d4@[10.0.1.2]>
In-Reply-To: <20010122170600.D4456@dogma.freebsd-uk.eu.org>
References:  <20010122170600.D4456@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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, <brad.knowles@skynet.be>


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?v0422080cb6921a7791d4>