Still waiting to hear if this was involved with CFMX7. I would really hate this sense all my apps use cfswitch for template switching. :-(
Doug B. ----- Original Message ----- From: "Josh Nathanson" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Monday, January 29, 2007 3:19 PM Subject: Re: cfif vs cfswitch > As usual Jochem is the final word...very good to know that! > > Hopefully this will be addressed in CF8. > > > ----- Original Message ----- > From: "Josh Nathanson" <[EMAIL PROTECTED]> > To: "CF-Talk" <cf-talk@houseoffusion.com> > Sent: Monday, January 29, 2007 2:05 PM > Subject: Re: cfif vs cfswitch > > > > What issues could there be? It either works or it doesn't. It's not like > > CFDocument or something where there are a whole bunch of moving parts > > involved. > > > > He could be questioning the speed, but if anything I would imagine a > > cfswitch would be quicker than a bunch of cfif/cfelse statements, since it > > only has to process one expression and match the result to the case. > > > > Probably, he did not like his code being rewritten and so made something > > up > > instead of saying "I personally don't like cfswitch." > > > > -- Josh > > > > > > > > ----- Original Message ----- > > From: "Cutter (CFRelated)" <[EMAIL PROTECTED]> > > To: "CF-Talk" <cf-talk@houseoffusion.com> > > Sent: Monday, January 29, 2007 1:46 PM > > Subject: cfif vs cfswitch > > > > > >> Recently I rewrote one of the templates within our massive system. The > >> template had two large cfif/cfelseif blocks that appeared better suited > >> for switch/case statements, which I implemented in cfscript. When my > >> boss saw this he said that there were issues with switch/case in CF, and > >> I have come to find out that he rewrote the template (again) with the > >> cfif/cfelseif statements. I have never seen anything stating issues with > >> switch/case in CF, nor have I had any issues of my own in my 6+ years o f > >> development, so I figured I would ask the group if you might point me to > >> postings outlining some of the issues he is worried about. > >> > >> Cutter > >> _________________ > >> http://blog.cutterscrossing.com > >> > >> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:268022 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4