Unnecessary Macros (was Re: Unnecessary Parenthesis)

Eric D. Price edp at pyr.gatech.EDU
Mon Sep 26 04:38:00 AEST 1988


In article <8577 at smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>In article <23 at datcon.UUCP> sar at datcon.co.uk (Simon A Reap) writes:
>>    z = square(x) + square(y);
>>Does anyone know how to get round this problem?  Please!!
>
>	z = x*x + y*y;

Hear hear.  This latter construction is MUCH clearer and doesn't require
wandering through the source module ... and possibly gobs of header files.
-- 
Warren Tucker
...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-ngp}!gatech!gitpyr!edp



More information about the Comp.lang.c mailing list