Ok, i have another one. (In CF7)

Here's an example of code I'm running into:

<cfset errors["#varName#"]["string"] = errors["#varName#"]["string"] & "bit
to add here."/>

I would normally write this as:

<cfset errors[varName]["string"] = errors[varName]["string"] & "bit to add
here."/>


Other than the fact it's nicer to look at and just makes sense to do it my
way, is there actually any speed increase doing it my way?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336722
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to