Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site wateng.UUCP
Path: utzoo!watmath!wateng!ksbszabo
From: ksbszabo@wateng.UUCP (Kevin Szabo)
Newsgroups: net.lang.c
Subject: Re: Re: parens around sizeof arg
Message-ID: <2116@wateng.UUCP>
Date: Fri, 8-Mar-85 01:57:42 EST
Article-I.D.: wateng.2116
Posted: Fri Mar  8 01:57:42 1985
Date-Received: Fri, 8-Mar-85 04:24:50 EST
References: <8985@brl-tgr.ARPA>
Reply-To: ksbszabo@wateng.UUCP (Kevin Szabo)
Organization: VLSI Group, U of Waterloo
Lines: 18
Summary: 

In article <8985@brl-tgr.ARPA> gwyn@brl-tgr.ARPA (Doug Gwyn ) writes:
>I see that the parentheses do not affect lvalueness, so extra parens
>	sizeof(thing)
>do no actual harm, although they are a bit sloppy, as is
>	return(expr);
>when
>	return expr;
>would do.

Why are parentheses aroung the `expr' sloppy? I had been programming
in C for quite a while before I found out that you could leave the
Parens Out!! All (or almost all) examples in K&R show parentheses
around the expressions, and this is the example that I followed.
( When in doubt, paranthesize??? ).

				Kevin
-- 
Kevin Szabo  watmath!wateng!ksbszabo (U of Waterloo VLSI Group, Waterloo Ont.)