Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site tekcrl.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!tektronix!tekcrl!patc
From: patc@tekcrl.UUCP (Pat Caudill)
Newsgroups: net.lang.c
Subject: Re: C bites / programming style
Message-ID: <255@tekcrl.UUCP>
Date: Mon, 16-Sep-85 10:21:07 EDT
Article-I.D.: tekcrl.255
Posted: Mon Sep 16 10:21:07 1985
Date-Received: Wed, 18-Sep-85 05:12:25 EDT
References: <418@phri.UUCP> <700002@fthood> <209@3comvax.UUCP> <411@npois.UUCP> <1455@uwmacc.UUCP> <417@npois.UUCP>
Reply-To: patc@tekcrl.UUCP (Pat Caudill)
Organization: Tektronix, Beaverton OR
Lines: 40


	I seem to remember that this discussion has been hashed out
and out and out several times before. In the past it was decided that
it is a matter of religion what indention style you use. There were
four styles for braces that were offered.

 A.	if ( condition ) {
		statments ;
		more statements ;
	}

 B.	if ( condition ) {
		statments ;
		more statements ;
		}

 C.	if ( condition )
	{
		statments ;
		more statements ;
	}

 D.	if ( condition )
		{
		statments ;
		more statements ;
		}

   I'm not sure which was the least liked but at that time A. was
most popular. This time there appear to be mayn more people using
the other formats especially D. Also there is much less radical
flaming about the other formats. (I'm a D fan myself and I have had
proponets of the other styles gain access to my directorys and
either delete or cb all my source because it was "an abomination
in the sight of God."). That seems to have gone away.
			Pat Caudill
			Tektronix!Tekcrl!patc

Disclaimer:
Obviously not everyone at Tektronix is of the same religion as myself.