Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!ames!umd5!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: comp.lang.c Subject: Re: Unnecessary parenthesis Summary: leave 'em out Message-ID: <8108@elsie.UUCP> Date: 9 Jul 88 17:51:30 GMT References: <326@marob.MASA.COM> <2550075@hpisod2.HP.COM> <5253@ihlpf.ATT.COM> Organization: NIH-LEC, Bethesda, MD Lines: 13 I leave out the parentheses in a return whatever; statement; this ensures that if I mistakenly write retunr whatever; I'll get a warning at compile time--along with a line number--rather than an "Undefined: _retunr" error at link time (with no indication of where the error is) as would be true if I wrote retunr(whatever); (which the compiler would take to be a function call.) Of course this advice applies only to those of us who make mistakes. -- ado@ncifcrf.gov ADO is a trademark of Ampex.