> > Why are you suggesting it is better to also scope a local variable > > when setting? > > Consistency. So it is clear from the code that you mean > "variables.firstName" in every instance.
Consistency, never using the variables scopes when setting is also consistency. Using the variables scope sometimes when setting and sometimes not when setting is inconsistency. I am still not saying you are wrong, I just don't see a good argument yet. > All you are saving is ten key strokes by omitting it on the "set" and > you're likely to be using the variable more times than updating it so > you're going to be typing "variables." quite a few times already. > > It's more consistent to use the same syntax for every > reference to the > same variable - especially since for non-variables-scope names, you > have to provide the scope qualifier in *both* places. You are right it is *more* consistent. I don't know what other peoples opinions are on this? --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
