Parentheses around return/sizeof

utzoo!decvax!decwrl!sun!gnu utzoo!decvax!decwrl!sun!gnu
Fri Mar 25 01:18:51 AEST 1983


Sorry, Dave, but MY C pet peeve is people who write the superfluous
parentheses in return statements just because PL/1 did it that way.
I like being able to say   return 0;  and it returns zero.  And there
are plenty of places where leaving out a semicolon will break your
program invisibly; that's not good reason to change the language.

	John Gilmore, Sun Microsystems



More information about the Comp.lang.c mailing list