Path: utzoo!attcan!uunet!ateng!chip From: chip@ateng.ateng.com (Chip Salzenberg) Newsgroups: comp.lang.c Subject: Re: A brace vs. indentation hypothesis (was Re: Braces are not Compiler-Fluff.) Message-ID: <1989Jan16.120659.18777@ateng.ateng.com> Date: 16 Jan 89 20:31:39 GMT References: <272@twwells.uucp> <849@unh.UUCP> <9379@ihlpb.ATT.COM> <2695@ficc.uu.net> <1880@buengc.BU.EDU> Organization: A T Engineering, Tampa, FL Lines: 27 According to bph@buengc.BU.EDU (Blair P. Houghton): > "Hint: keep those braces as close > to their related syntactic element > as possible, or yer FIRED!. Well, not > fired, per se, but I'll leave coding the > bitmaps for you to do..." IMHO, this: if (condition && test) { action(); } puts about 2 inches between "if" and "{", whereas this: if (condition) { } makes the "if" and "{" adjacent. I see two dimensions when I look at a program. Apparently, not everyone does. -- Chip Salzenberg or A T Engineering Me? Speak for my company? Surely you jest! "It's no good. They're tapping the lines."