right on man.

> The point of this is not what you or I would use. It's designed to 'force'
> people to localize their variables. If they did what was right, then this
> would not be needed. As most people do not localize their vars, I'm trying
> to create a psychological 'reminder' for them.
> There is a difference between the code you use locally and the code you
> provide to others. For others you have to teach, train, and yes, even
> manipulate to get them to do what's right. $variable is as 'loud' a
> statement of localization that I can think of.



IMHO, most important when:

1. there could be a possible conflict
2. there are lots of other scopings on the page (just to avoid confusion)

Phillip


---
[This E-mail has been scanned for viruses.]


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188728
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to