Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mdf From: mdf@tut.cis.ohio-state.edu (Mark D. Freeman) Newsgroups: comp.lang.c Subject: Re: Unnecessary parenthesis Message-ID: <17458@tut.cis.ohio-state.edu> Date: 10 Jul 88 19:00:20 GMT References: <326@marob.MASA.COM> <2550075@hpisod2.HP.COM> Reply-To: mdf@tut.cis.osu-state.edu (Mark D. Freeman) Organization: CompuServe; Columbus, OH. (personal guest account) at Ohio State U.) Lines: 43 In <2550075@hpisod2.HP.COM> decot@hpisod2.HP.COM (Dave Decot) writes: >Return is a statement that modifies the default >flow of control, such as: > > goto label; /* NOT goto(label); */ > break; /* NOT break(); */ > continue; /* NOT continue(); */ > >Return is not a function call, and it shouldn't look like one. > >Why do you want to make it easier to confuse function calls >with statements that don't come back? What about exit()? Does it require parenthesis? How does it fit into your argument? ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` -- Mark D. Freeman (614) 262-1418 Applications Programmer, CompuServe mdf@tut.cis.ohio-state.edu [70003,4277] ...!att!tut.cis.ohio-state.edu!mdf Columbus, OH Guest account at The Ohio State University