All so true. I think the only time dimming at top has any meaning is if the
variable is kind of "global" within the method - for example integer error
return codes often fall into this category. As I said before - I came from
this camp but have now seen "the error of my ways"  ;)


On 2/5/07 15:08, "Glenn L. Austin" <[EMAIL PROTECTED]> wrote:

>  Think of  
> declaring variables at the top of a routine as the same as the use of
> globals within a program.
> 
> You don't want to know how many times that I've seen people "reuse"
> variables because they were declared and initialized at the top of a
> routine.  I can't count the times where someone has reused a variable
> in newly-inserted code and destroyed the initial value, which caused
> problems in the original code.

Regards,

Dan



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to