To play Devil's advocate here-- other than standard coding habits, why
would one need to var these variables?  This function (in the example
given) is called in the context of the current page and is not a method
in any persisted component which could be servicing multiple requests.  

I would see the benefit, if it was called as:
<cfset stResult =
application.persistent_component.foo(client.user_specific _input)>

But is there any benefit to the var in the example Dominic posted?  

I'm not saying anyone's wrong yet--  I just want to know if there was a
good reason.

Thanks.

~Brad

-----Original Message-----
From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2008 8:59 AM
To: CF-Talk
Subject: Re: CF functions question

Remember to var your variables!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300329
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to