We never use prefixes in our codes for simple values since CF is typeless. We usually don't use prefixes for complex values too.
Follow the most popular coding guidelines: http://livedocs.macromedia.com/wtg/public/coding_standards/ Murat. > -----Original Message----- > From: Tangorre, Michael [mailto:[EMAIL PROTECTED] > Sent: 13 December 2004 15:03 > To: CF-Talk > Subject: variables... to prefix or not to prefix > > Just out of curiosity, who prefixes their variables with a data type > abbreviation... > > integer - intVariableName > numeric - numVariableName > string - strVariableName > structure - stcVariableName > array - arrVariableName > object - objVariableName > query - qryVariableName > etc... > > We are ever expanding our best practices and guideline documents and > this is an agenda point up for discussion soon... I want to > some in with > some pros and cons. > At first glance, the code becomes more descriptive but I do > see and have > run into, many problems such as passing around URL params.. do you > really want to give anymore information than necessary into > the type of > data within a variable? What about if you encrypt variables?... The > number 1 could be viewed as URL.intSomeId but once encrypted it is no > longer an interger it is a string URL.strSomeId, this only touches the > tip here. > > Anyone have anything to offer on this topic? > > Thanks. > > Mike > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187390 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