Just Wondering (math notation in C)
Peter Desnoyers
desnoyer at Apple.COM
Wed Apr 26 09:31:05 AEST 1989
In article <12641 at lanl.gov> jlg at lanl.gov (Jim Giles) writes:
>From article <29478 at apple.Apple.COM>, by desnoyer at Apple.COM (Peter Desnoyers):
>> set V of vertex ...
>In that case, it _should_ have been:
> set vertex_set of vertex ...
>
>Assuming that the two statements above may be separated in the program
>by many lines (even pages) of other code, the "vertex_set" variable is
>_MUCH_ easier to read, maintain, and even to _WRITE_!
I don't agree. If the form in which everyone learned the equation uses
X, x, and z, then use those very same symbols. Which would you rather
read:
Area := ratio_of_diameter_to_circumference * radius_of_circle ^^2
or
___ 2
A = | | R
Peter Desnoyers
More information about the Comp.lang.c
mailing list