Need help with union trick: summary of replies

Rahul Dhesi dhesi%cirrusl at oliveb.ATC.olivetti.com
Sat Jan 12 10:30:33 AEST 1991


I sort of like calling the union substructure by tiny names like x, y,
z etc.  Then references become struct_name.x.field_name, and the ".x."
is almost not noticeable.  The idea is to use a small meaningless name
(sort of using i, j, k as loop counters) so the meaningfullness (to
coin a noun) lies entirely in the name of the structure and the name of
the field.
--
History never         |   Rahul Dhesi <dhesi%cirrusl at oliveb.ATC.olivetti.com>
becomes obsolete.     |   UUCP:  oliveb!cirrusl!dhesi



More information about the Comp.lang.c mailing list