Shari wrote/ schreef:

> One of my 
> favorites is to put some letter before "it".  I may have a handler
> with five local variables:  bit, git, pit, sit and wit.  Since I do
> this across the board, I know when I see a variable with "it" that
> it's local.  I also use "temp" and other very generic terms for local
> variables.  Global variables, on the other hand, I name very
> carefully, so that the name tells me what's in them.
Why don't you name locals descriptive too? It helps (at least me) to
understand a script when I look at it some long while later.

Regards, / Groeten,
Sjoerd

Reply via email to