|
![](/i/fill.gif) |
On 3 Feb 2000 03:14:41 -0500, Nieminen Juha wrote:
>Jon A. Cruz <jon### [at] geocities com> wrote:
>: Could I bug you to try to always use braces, even for single line
>: bodies?
>
>: if(Ch=='\n') {
>: ungetc ('\r', (FILE *) File->Data);
>: }
>
> Good idea, as long as you don't put the braces that way.
> The opening brace of a block should be at the beginning of the block, not
>at the end of the previous line.
I think this belongs in the "For your information" thread, as it's a
religious battle. FWIW, the indenting style above is at least as accepted
as the one you're advocating, for the simple reason that it lets you fit
more code in a screenful without sacrificing much in the way of readability.
--
These are my opinions. I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
![](/i/fill.gif) |