C format
utzoo!decvax!harpo!floyd!trb
utzoo!decvax!harpo!floyd!trb
Fri Oct 22 16:58:23 AEST 1982
I like
if(foo){
a;
b;
c;
}
It's easy to see what the } delimits that way. Just zing up the page.
The conditional IS an integral part of the block, putting the { on a
separate line belittles this fact.
As for Montgomery's suggestion for the compiler to force you to use {}
for
if(foo){
one statement;
}
I think Warren should be crucified for his suggestion. No matter
how sensible it seems, suggesting that "newline should have more
syntactic significance than it already has" at this stage in the game
is clearly heathen influenced.
The loss of Warren's talents to the Bell System will be painful to us
all, we'll miss him, but I don't think he should be able to get away
with such a suggestion. (You KNOW about all the copycat crime these
days...)
Andy Tannenbaum Bell Labs Whippany, NJ (201) 386-6491
More information about the Comp.lang.c
mailing list