Re: Re-use the argument?



"Malcolm McLean" <regniztar@xxxxxxxxxxxxxx> writes:

"Richard Tobin" <richard@xxxxxxxxxxxxxxx> wrote in message news
In article <g2hj1r$mse$1@xxxxxxxxxxxxxxxxxxxxxxxxx>,
Richard <rgrdev@xxxxxxxxx> wrote:

I really am not interested in that. Its effectively a local variable and
I have never seen anyone object, in the real world, to it being
manipulated.
[...]
I'm not sure who you are addressing this too so I will refrain from
commenting further.

I am simply pointing out that though there may be no objection to
re-using a parameter variable *because it's a parameter*, there may be
other reasons to object to re-using it. And because parameter
variables usually have a name indicating their purpose, that often
means that those other reasons apply.

I think that's the truth of the matter.

I find it amazing that two seasoned programmers as yourself feel the
need to explain how to use a named variable. To the uninitiated it would
seem like some dark and mystic secret known only to the few. As it is,
its totally common sense and nothing more nor less.
.



Relevant Pages

  • Re: Re-use the argument?
    ... commenting further. ... I am simply pointing out that though there may be no objection to ... other reasons to object to re-using it. ...
    (comp.lang.c)
  • Re: Re-use the argument?
    ... commenting further. ... other reasons to object to re-using it. ... return ret; ...
    (comp.lang.c)
  • Re: Re-use the argument?
    ... "Richard Tobin" wrote in message news ... commenting further. ... other reasons to object to re-using it. ...
    (comp.lang.c)
  • Re: Re-use the argument?
    ... richard@xxxxxxxxxxxxxxx (Richard Tobin) writes: ... I am simply pointing out that though there may be no objection to ... other reasons to object to re-using it. ...
    (comp.lang.c)
  • Re: MSO97.dll
    ... from the reasons in this article, ... if the registry is pointing to a wrong location ... missing". ...
    (microsoft.public.office.setup)