Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!ames!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn )
Newsgroups: comp.unix.wizards
Subject: Re: Latest indent request
Message-ID: <9063@smoke.BRL.MIL>
Date: 4 Dec 88 06:29:54 GMT
References: <17680@adm.BRL.MIL> <1748@solo3.cs.vu.nl>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 20

In article <1748@solo3.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes:
>gaspar@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).