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
>> 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
> 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
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
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
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
6 matches
Mail list logo