Loose typing of ColdFusion variables is arguably one of the key factors that contribute to rapid application development.
However, the lack of any standard in which variables are named causes considerable grief, especially when working on large-ish ColdFusion application, in a medium to moderate sized team, over a period of time. Different developers start using different “conventions” for variable names and those “conventions” become more like fashions that come and go with each season.
And of course this is bad because it adds to the total time spent on maintaining legacy code.
Over a period of time, after trying various ways of naming variables (or using Hungarian Notation), I settled on using following.