(Un)necessary parenthesis

Steven Ryan smryan at garth.UUCP
Sun Jul 10 05:50:47 AEST 1988


> >1) Because it looks consistent.
> >2) It's intuitive to a converted Pascal or PL/I programmer.
> >3) The programmer has gotten used to putting parentheses around just about
>4) Because, in fact, the *parenthesised* version is intuitive to some people.
>5) Because people think of return(x) as a *call*, or at least syntactically
>6) Because K&R 1 page 68 says:
>7) Because the MS C 5.1 Users Guide Language Reference Section 6.11 says:
>8) Because other keywords in 'C' use parenthesis when other syntax would
>1001) Because they *want* to do it that way!

1002. Because C syntax is so quirky I parenthesis everything just to be safe.



More information about the Comp.lang.c mailing list