RE: Friday question.... any difference?

2003-09-08 Thread d.a.collie
Cheers all :-) -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 17:00 To: CF-Talk Subject: Re: Friday question any difference? Block 2 works better if you are also declaring theName as a local variable in a cffunction

RE: Friday question.... any difference?

2003-09-05 Thread d.a.collie
>> Readability and Updatability If you (the programmer) can't read the code later, then it is >> unimportant that it runs a tiny bit faster than code that you can read and easily update A concur... >> Oh, on an semi-related note, in all but MX, putting code like this into CFSCRIPT will make it

RE: Friday question.... any difference?

2003-09-05 Thread Philip Arnold
> I see what you are saying hmmm, I still like code block > two tho... looks prettier :-) What you have to remember is that there is one thing a LOT more important than shaving fractions of milliseconds off of execution time... Readability and Updatability If you (the programmer) can't read

RE: Friday question.... any difference?

2003-09-05 Thread d.a.collie
Don't worry Andy, I need to get out more too :-) -Original Message- From: David Collie (itndac) Sent: 05 September 2003 11:50 To: CF-Talk Subject: RE: Friday question.... any difference? I see what you are saying hmmm, I still like code block two tho... looks pre

RE: Friday question.... any difference?

2003-09-05 Thread d.a.collie
I see what you are saying hmmm, I still like code block two tho... looks prettier :-) -Original Message- From: Andy Ewings [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 11:37 To: CF-Talk Subject: RE: Friday question any difference? well at a guess I would have said that

RE: Friday question.... any difference?

2003-09-05 Thread Andy Ewings
well at a guess I would have said that code block 1 was better because you are doing 1 test and 1 set. In code block 2 you are potentially doing an unnecessary set making it slightly less efficient but if I'm gonna pull you up on this I guess I oughta get out more ;) -Original Message- Fr