I think the place I see too many if statements is for some matchmatical figures. I can't honestly come up with one on a saturday morning/afternoon after a long night of wedding planning but I have seen code like if today is monday add 6 if today is tuesday add 5 ect... When they could have used add 8-DayOfweek(now()).
Adam On Sat, 29 Jan 2005 09:45:58 -0500, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>lots of CFIFs > > If one mean CFIF used when something simpler could be used, then this is > true, but it is not particular to CFIF, one could say that any piece of > code that could be simpler and/or more efficient makes the code look > amateurish. > Too many CFSET could mean exactly the same thing if there is a better > way to do the same thing. > > -- > _______________________________________ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192184 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54