[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: warn on variable hiding
- From: "Thijs Schreijer" <thijs@...>
- Date: Tue, 16 Oct 2012 16:13:01 +0200
> On Behalf Of David Collier
> Sent: dinsdag 16 oktober 2012 16:05
> Subject: warn on variable hiding
>
> Is there anything I can do to get the interpreter to issue a warning
> when I hide a variable?
>
> I almost never mean to do it and it's a real source of wasted time!
>
That would incur runtime cost. ZeroBrano Studio code analysis feature will
detect it, just one <shift><F7> key press away (as a bonus it checks several
others as well, global assign, unused locals, etc.)