M
Mark Healey
I have a program that runs an array through several loops in a single
function. For readability I'd like to use descriptive variable names in
each loop. I could just declare them at the beginning of the function but
it bugs me that I'm using more variables in the function than I need just
for readability purposes.
Is there something analogous to Linux hard links where I could have a line
something like:
&var1=&var1;
so I'm only using the space for one instance of the variable but in the
source code it can be addressed by different names without resorting to
pointer operations (where I usually create hard to find bugs) beyond
declaration of the variables.
function. For readability I'd like to use descriptive variable names in
each loop. I could just declare them at the beginning of the function but
it bugs me that I'm using more variables in the function than I need just
for readability purposes.
Is there something analogous to Linux hard links where I could have a line
something like:
&var1=&var1;
so I'm only using the space for one instance of the variable but in the
source code it can be addressed by different names without resorting to
pointer operations (where I usually create hard to find bugs) beyond
declaration of the variables.