Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!ames!pasteur!ucbvax!decwrl!labrea!sri-unix!garth!smryan From: smryan@garth.UUCP (Steven Ryan) Newsgroups: comp.lang.c Subject: Re: (Un)necessary parenthesis Message-ID: <906@garth.UUCP> Date: 9 Jul 88 19:50:47 GMT References: <326@marob.MASA.COM> <8209@brl-smoke.ARPA> <570@splut.UUCP> <1173@micomvax.UUCP> Reply-To: smryan@garth.UUCP (Steven Ryan) Organization: INTERGRAPH (APD) -- Palo Alto, CA Lines: 11 > >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.