Re: Re-use the argument?
- From: Richard<rgrdev@xxxxxxxxx>
- Date: Mon, 09 Jun 2008 22:25:39 +0200
"Malcolm McLean" <regniztar@xxxxxxxxxxxxxx> writes:
"Richard Tobin" <richard@xxxxxxxxxxxxxxx> wrote in message news
In article <g2hj1r$mse$1@xxxxxxxxxxxxxxxxxxxxxxxxx>,I think that's the truth of the matter.
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 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.
.
- Follow-Ups:
- Re: Re-use the argument?
- From: Malcolm McLean
- Re: Re-use the argument?
- References:
- Re-use the argument?
- From: Tomás Ó hÉilidhe
- Re: Re-use the argument?
- From: Richard
- Re: Re-use the argument?
- From: Richard Tobin
- Re: Re-use the argument?
- From: Richard
- Re: Re-use the argument?
- From: Richard Tobin
- Re: Re-use the argument?
- From: Malcolm McLean
- Re-use the argument?
- Prev by Date: Re: Re-use the argument?
- Next by Date: Re: Defining variable in C header file related doubt
- Previous by thread: Re: Re-use the argument?
- Next by thread: Re: Re-use the argument?
- Index(es):
Relevant Pages
|