I always use eq, but if you want to rewrite the code for consistency's sake, a quick search/replace in cfeclipse should do it.
Russ > -----Original Message----- > From: Doug Brown [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 8:06 PM > To: CF-Talk > Subject: Re: EQ vs IS > > Same here. I use eq when comparing numeric values since it just seems like > the right thing to do and IS when comparing strings. All does the same > thing, just whatever your preference. I would not re-write all the code, > as > it really will not have any effect on the application. > > Doug B. > > > > ----- Original Message ----- > From: "Charlie Griefer" <[EMAIL PROTECTED]> > To: "CF-Talk" <[email protected]> > Sent: Tuesday, January 30, 2007 5:27 PM > Subject: Re: EQ vs IS > > > > they're the same. both are comparison operators and since CF is a > > typeless language, at the CF level it doesn't matter which you use. > > > > i do use IS for comparing strings and EQ for anything else, but that's > > just a matter of preference and has nothing to do with performance. > > > > On 1/30/07, David Gardner <[EMAIL PROTECTED]> wrote: > > > If this has been through the ringer already, forgive me. Just give me > > > the verdict. No reason to rehash anything. > > > > > > On MX 7.... > > > > > > My old supervisor told me that "EQ" was better to use than "IS" when > > > comparing things. His info is usually based on fact, so I've taken > > > that as rote. > > > > > > I've done some tests, but neither seems consistently victorious. > > > > > > Is there an agreed-upon conclusion on this issue, or do different > > > folks have their opinions? > > > > > > > > > I'm optomizing some code that's causing someone's server to crash. > > > I'm wondering if I need to take the time to convert all the IS to EQ > > > or vice versa? > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

