Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rtech.ARPA Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!hplabs!amdahl!rtech!jeff From: jeff@rtech.ARPA (Jeff Lichtman) Newsgroups: net.lang.c Subject: Re: parens around sizeof arg Message-ID: <243@rtech.ARPA> Date: Thu, 21-Mar-85 02:48:08 EST Article-I.D.: rtech.243 Posted: Thu Mar 21 02:48:08 1985 Date-Received: Mon, 25-Mar-85 02:30:06 EST References: <8985@brl-tgr.ARPA> <2116@wateng.UUCP> <354@talcott.UUCP> Organization: Relational Technology, Berkeley CA Lines: 18 > > Why are parentheses aroung the `expr' sloppy? I had been programming > > Well, it is something that is semantically and syntactically > superfluous, much the same way that many PASCAL programmers like to > insert extra null statements at the end of program blocks. The > parentheses serve at most an optical purpose. > > Thomas. You could say the same thing about blank lines between code blocks, or spaces around operators. Newlines at the ends of statements are "semantically and syntactically superfluous" too. Remember that people (not just compilers) have to read programs. If extra parentheses make a piece of code more readable, then they are good. -- Jeff Lichtman at rtech (Relational Technology, Inc.) aka Swazoo Koolak