Erg....write less efficient code for the sake of possible future developers!!!???
How about keeping the more efficient code and commenting it so those future developers will understand it ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Rick Root" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 9:26 AM Subject: Re: Studio MX > Kreig Zimmerman wrote: > > No. Len() is evaluated as a Boolean because in CF, True/False, Yes/No, > > and 1(+)/0 are all evaluated as Boolean pairs. > > > > Trust me. I use this everywhere in my own code. > > I used to do this a lot too, but I found that spelling it out makes the > code more legible to others... which is something that all good > programmers should strive for unless they are 100% positive that nobody > else will ever have to deal with their code. > > - Rick > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

