Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 +MULTI+2.11; site datlog.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!mhuxt!mhuxr!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!ukc!stc!datlog!krl From: krl@datlog.UUCP ( Kevin Long ) Newsgroups: net.lang.c Subject: Re: C bites / programming style [if Message-ID: <267@dlvax1.datlog.UUCP> Date: Tue, 24-Sep-85 06:59:47 EDT Article-I.D.: dlvax1.267 Posted: Tue Sep 24 06:59:47 1985 Date-Received: Sun, 29-Sep-85 04:21:07 EDT References: <418@phri.UUCP> <2600012@ccvaxa> <1901@reed.UUCP> Organization: Data Logic Ltd, Greenford, London. Lines: 33 Xpath: stc stc-a > > > In my mind, the braces are associaed with the 'if' statment, and so > > > they should be indented at the same column as the 'if'. I look for the > > > closing brace in the same column to be a sort of 'statement terminator' > > > Well, in my mind the braces are simply grouping the statements 'under' > > the if. > > The above difference of opinion has in the past been called a religious > argument, with good reason. Last time it was discussed, Owen Beckley, > then at uw-june, conducted a poll of the preferred brace alignment and > commenting style. While it may not prove anything, it should give everybody > an idea of how many people will never agree to use one's own indenting style. At great risk of being Flamed to death with my clothes on here is my little gem on the subject. Curly Braces are like ears...It doesn't matter how far they stick out, it's what's between them that matters ! :-) -- /\___/\ Klong \/o o\/ The views expressed above are not those of my employer \ ^ / but those of my pet Panda UUCP: ...!mcvax!ukc!stc!datlog!krl MAIL: Data Logic Ltd., 320, Ruislip Road East, Greenford, Middlesex, UK.