Parentheses around return.

utzoo!decvax!duke!mcnc!unc!tim utzoo!decvax!duke!mcnc!unc!tim
Mon Mar 28 15:03:36 AEST 1983


Remember that long and horribly boring discussion of indentation styles
back when this group got started? See any resemblance to it in the
current discussion of parentheses in return statements? (If not, try
"no one really cares", "matter of opinion", and "won't convince anyone
to change their minds" for starters.) Please abort it before it makes
the group unreadable again.

By the way, did you know that you can return from main, and the value
you return is the exit code? Makes exit(n) somewhat less attractive
for most applications.

Tim Maroney



More information about the Comp.lang.c mailing list