Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!gatech!ncar!ames!ucsd!ucsdhub!esosun!seismo!uunet!unh!jeff From: jeff@unh.UUCP (Jeffrey E. F. Friedl) Newsgroups: comp.lang.c Subject: Re: Unnecessary parenthesis Summary: why "return(e)" and not "return e" Message-ID: <570@unh.UUCP> Date: 4 Jul 88 03:11:53 GMT References: <326@marob.MASA.COM> <8209@brl-smoke.ARPA> Organization: University of New Hampshire, Durham, NH Lines: 13 In article <8209@brl-smoke.ARPA>, gwyn@brl-smoke.ARPA (Doug Gwyn ) writes: > [] > return 0; /* intuitive */ > > return(0); /* one wonders why the () are there */ Most likely because _every_ 'return' in K&R-I has those superfluous parens. K&R-II has been "fixed" (I like 'return(e)' beter), but 10 years too late. *jeff* ------------------------------------------------------------------------------- Jeffrey Eric Francis Friedl, Box 2146 Babcock House, Durham New Hampshire 03824 ..!{uunet,decvax}!unh!jeff BITNET%"j_friedl@unhh" ..!ucbvax!kentvax!jfriedl