Just Wondering

Jim Giles jlg at lanl.gov
Wed Apr 26 03:36:47 AEST 1989


>From article <29478 at apple.Apple.COM>, by desnoyer at Apple.COM (Peter Desnoyers):
>   set V of vertex
>   for v = set$element in V
>    ...

In that case, it _should_ have been:

    set vertex_set of vertex
    for a_vertex = set$element in vertex_set

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_!



More information about the Comp.lang.c mailing list