Path: utzoo!utgpu!watmath!clyde!att!rutgers!bellcore!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: A brace vs. indentation hypothesis (was Re: Braces are not Compiler-Fluff.) Summary: Presenting my coding style for scrutiny and abuse... Message-ID: <2695@ficc.uu.net> Date: 11 Jan 89 16:54:28 GMT References: <272@twwells.uucp> <849@unh.UUCP> <9379@ihlpb.ATT.COM> Organization: Xenix Support Lines: 31 > if ( p != 0 > && p->barp != 0 > && p->barp->type == BAR_BAZ_TYPE) { > debazify(p->barp); > saltpork(p); > } Now me, I do this: if (p != 0 && p->barp != 0 && p->barp->type == BAR_BAZ_TYPE) { debazify(p->barp); saltpork(p); } Although up until a few months ago I preferred: if(p != 0 && p->barp != 0 && p->barp->type == BAR_BAZ_TYPE ) { debazify(p->barp); saltpork(p); } -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Work: uunet.uu.net!ficc!peter, peter@ficc.uu.net, +1 713 274 5180. `-_-' Home: bigtex!texbell!sugar!peter, peter@sugar.uu.net. 'U` Opinions may not represent the policies of FICC or the Xenix Support group.