Path: utzoo!utgpu!attcan!uunet!cadnetix.COM!cadnetix!beres From: beres@cadnetix.COM (Tim Beres) Newsgroups: comp.unix.wizards Subject: Re: Latest indent request Message-ID: <5783@cadnetix.COM> Date: 14 Dec 88 23:26:02 GMT References: <17680@adm.BRL.MIL> <1748@solo3.cs.vu.nl> <366@lclark.UUCP> <9135@smoke.BRL.MIL> Sender: news@cadnetix.COM Reply-To: beres@cadnetix.COM (Tim Beres) Organization: Cadnetix Corp., Boulder, CO Lines: 31 In article <9135@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: >Presumably the One True Brace Style refers to that used by K&R 1st Ed. >But note that K&R are not dogmatic about it.. > >ANSI C does not dictate style. Neither are we dogmatic (Cadnetix). We have coding guidelines, but these do not attempt to dictact the OTBS. When I first joined the graphics group, I noticed that everyone was using the OTWBS (one true WRONG brace style); it seems that it had carried over from the dawn of graphics code (about 4 years ago, for C). Well, being the do-gooder that I am, I went and indented (1) a couple of modules. Upon discovery of this good deed, I was asked to show what changes I had made to the modules, via RCS diff. Uh-oh. I now use existing style wherever appropriate. Naturally, I use my vastly superior (-: style when writing new code. BTW, I use: if (detroit_lions_ever_win){ /* * This path almost never exercised, but it did happen in 1957. */ joyous_celebration = 1; } Tim ------>MY SOAPBOX (I speak not for Cadnetix nor any enjoined entity) OK, one more time: This is a frying pan.....this is an egg.... this is an egg in a frying pan....JUST SAY OVER EASY Tim Beres beres@cadnetix.com {uunet,boulder,nbires}!cadnetix!beres