A brace vs. indentation hypothesis (was Re: Braces are not Compiler-Fluff.)
Peter da Silva
peter at ficc.uu.net
Thu Jan 12 02:54:28 AEST 1989
> 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 at ficc.uu.net, +1 713 274 5180. `-_-'
Home: bigtex!texbell!sugar!peter, peter at sugar.uu.net. 'U`
Opinions may not represent the policies of FICC or the Xenix Support group.
More information about the Comp.lang.c
mailing list