Thanks, guys. That is what I was thinking, too. Having multiple return points in a function is not a bad idea, in my opinion.
Thanks, Mike -----Original Message----- From: Dominic Watson [mailto:watson.domi...@googlemail.com] Sent: Wednesday, July 29, 2009 12:59 PM To: cf-talk Subject: Re: Use CFELSE or Let Logic "Fall Through"? The same with a function, for e.g. function fubar(){ if(z = y) return y; return z; } I prefer this form and I'd guess that it performed better (though almost certainly not to a remotely relevant degree). Its definitely perfectly acceptable. Dominic 2009/7/29 Jason Fisher <ja...@wanax.com> > > Completely acceptable to leave out the CFELSE if there is no > alternative action that needs to be taken. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325096 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4