Lately I have been swaying on doing this myself. I do it for obvious reasons
within CFCs but have yet to completely make the jump on other pages. I have
been trying to focus more on naming conventions. For years I have prefixed
structures with stc, queries with qry and arrays with ary but never bothered
for just strings, lists, and so on.

On 10/18/05, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
> i second Aaron, but i'd take it a step further and scope the variable
> when setting it.
>
> <cfset variables.foo = "bar" />
>
> while there are (rare) occassions when you actually don't want to
> scope variables, they're few and far between. a general rule of thumb
> is to scope all of your variables. including the local (variables)
> scope.
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221439
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