Unnecessary parenthesis
Mark D. Freeman
mdf at tut.cis.ohio-state.edu
Mon Jul 11 05:00:20 AEST 1988
In <2550075 at hpisod2.HP.COM> decot at 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 at tut.cis.ohio-state.edu
[70003,4277] ...!att!tut.cis.ohio-state.edu!mdf
Columbus, OH Guest account at The Ohio State University
More information about the Comp.lang.c
mailing list