Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!haven!uvaarpa!virginia!uvacs!rwl From: rwl@uvacs.cs.Virginia.EDU (Ray Lubinsky) Newsgroups: comp.lang.c Subject: Re: Standard indentation? Message-ID: <2865@uvacs.cs.Virginia.EDU> Date: 13 Dec 88 15:48:14 GMT References: <641@htsa.uucp> <6580@polyslo.CalPoly.EDU> Organization: U.Va. CS in Charlottesville VA Lines: 28 In article <6580@polyslo.CalPoly.EDU>, cquenel@polyslo.CalPoly.EDU (Chris (i = --i++;) Quenelle) writes: > In article <641@htsa.uucp> fransvo@htsa.UUCP (Frans van Otten) writes: > > > >#define then /* as white space; see below */ > > > > if (a > 10) > > then putchar('1'); > > else putchar('2'); > > Bravo!! Me Too!! > whenever the statements are blocks, I omit the then, though. > I vote strongly for this. The symmetry scans very easily for me. Hey! Why is this posted to comp.lang.c rather than comp.lang.some-language-I-invented-yesterday-cause-its-neato? Seriously, folks, having to wade through ad hoc "dialects" like this makes a C programmer's stomach churn. Source code is a medium of communication to other programmers as well as your future self when you have to maintain that code. Offbeat dialects involving fake keywords just stand in the way of comprehension. (There, I feel better :-) -- | Ray Lubinsky, UUCP: ...!uunet!virginia!uvacs!rwl | | Department of BITNET: rwl8y@virginia | | Computer Science, CSNET: rwl@cs.virginia.edu -OR- | | University of Virginia rwl%uvacs@uvaarpa.virginia.edu |