Latest indent request

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Dec 4 16:29:54 AEST 1988


In article <1748 at solo3.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
>gaspar at almsa-1.arpa (Al Gaspar) writes:
>\	if (test)
>\		{
>\		whatever;
>\		}
>What a DISGUSTING format!

Most programmers I know that have tried vertical alignment of braces
for a while have come to prefer that to the style in K&R.  With "sam"
the K&R style becomes acceptable because it is easy to find the
matching brace.  In any case, when modifying existing code we use the
same style as in the existing code, whatever it may be (unless the
code is totally misformatted, in which case we beautify it first).

>I've included Henry Spencer's `Ten Commandments for C Programmers';
>special attention to point 8, please.

Henry is a nice enough guy, but he's not God (in fact the first
attribute probably precules the second).



More information about the Comp.unix.wizards mailing list