The Scoop on Scoping

I did a presentation called "The Scoop on Scoping" and it's high time I post it here. It has a lot of good information, however, if you don't plan to read it, let me at least give you the Golden Rule of ColdFusion Scoping:

Scope all references to all variables all the time (where ColdFusion allows it)

In ColdFusion 9, with the introduction of the "Local" keyword to identify the function local scope, there really won't be any good excuse to not refer to scopes by name all the time and so that "(where ColdFusion allows it)" part can pretty much go away. :)

The PDF version of the presentation is available via this link.

Comments
Jose Galdamez's Gravatar I recently started writing out scopes in all caps just like it's done in the CF WACK books.

ATTRIBUTES.filePath
VARIABLES.rssStruct
etc.

It helps me keep scopes apart from other custom structures.

I know it's mostly a matter of preference, but I'm curious if you've come across strong opinions against this style?
# Posted By Jose Galdamez | 8/27/09 2:55 PM
Rudi Shumpert's Gravatar Josh! Great presentation. I could not agree more on scopes.
# Posted By Rudi Shumpert | 8/27/09 3:20 PM
Mariaen1's Gravatar You require a client to have the capacity to get numerous consistently associated bits of substance from your ColdFusion 9 web application; maybe you even need to enable the client to choose the bits of substance himself. On the other hand, I want to know about https://www.assignmentgeek.com.au/thesis/ but hope this site help to make the thesis work completed.
# Posted By Mariaen1 | 5/14/18 2:30 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner