Path: utzoo!mnetor!uunet!husc6!cca!g-rh From: g-rh@cca.CCA.COM (Richard Harter) Newsgroups: comp.lang.c Subject: Re: asymmetric layout Message-ID: <25617@cca.CCA.COM> Date: 16 Mar 88 20:43:33 GMT References: <1136@PT.CS.CMU.EDU> Reply-To: g-rh@CCA.CCA.COM.UUCP (Richard Harter) Organization: Computer Corp. of America, Cambridge, MA Lines: 23 In article <1136@PT.CS.CMU.EDU> edw@IUS1.CS.CMU.EDU (Eddie Wyatt) writes: > .... A message praising the merits of aligning = signs in assignments vertically. It is my opinion, and sometimes practicing style that vertical alignment is a *good* thing. Another example is in declarations, e.g. struct athing **ptr; /* Say what ptr is */ struct bthing *aptr; /* Another explanation */ char c; /* Names all start in same col */ char *cc; /* And are alphabetized in type */ int i; /* Types sorted by name length */ And so on. However there is a problem with assignments that Eddie does not mention -- indentation can mess up the alignment by runing over the assignment column. -- In the fields of Hell where the grass grows high Are the graves of dreams allowed to die. Richard Harter, SMDS Inc.