Coming from a C background, I rarely use "global" variables. When I do, I use our because (1) the syntax is simpler, and (2) I can initialize the variable where it's defined. Also, I use it where use vars would be used. while I can see some value in using our in an inner scope, it's not something I've needed to do myself.
In reply to Re: Why is 'our' good?
by RonW
in thread Why is 'our' good?
by tilly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |