Re: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Howard Fore
If you can do everything you need in cfscript, it's much more readable IMHO. However the functionality gap between cfscript and cf tags negates this to some degreee. In my experience switching back and forth between tags and cfscript has yielded some very awkward code. I've almost completely

RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread C. Hatton Humphrey
If you can do everything you need in cfscript, it's much more readable IMHO. However the functionality gap between cfscript and cf tags negates this to some degreee. In my experience switching back and forth between tags and cfscript has yielded some very awkward code. I've almost completely

Re: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Pete Ruckelshaus - CFList
I agree completely on the readability issue.In my application.cfm file, I try to use cfscript blocks as much as possible, mainly to keep code both compact and readable.I do the same thing on pages where I need to set more than one or two variables.cfscript blocks are also easier to find when

RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Dave Watts
Just a note on this: the bug is basically that you never see value of 1-9 - only 0, 10 or more than 10. (and I think it's actually an OS problem on Windows, not a CF issue - can any Linux/Unix user confirm the bug on their platform?) According to the MM guy who explained this problem to

RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Andre Turrettini
Tags (was Re: ColdFusion Coding Contest) If you can do everything you need in cfscript, it's much more readable IMHO. However the functionality gap between cfscript and cf tags negates this to some degreee. In my experience switching back and forth between tags and cfscript has yielded some very

Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Nathan Strutz
It's been my experience that using CFSCRIPT never provided any significant performance increase in any case. I disagree. My tests: the function queryRandomize() from DRK 4 (or was it 5?), I rewrote it, line-by-line (including comments!) and called it queryRandomizeCFML(). 100,000

Re: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Michael Dinowitz
That's very strange. While I did find some big differences in CFSCRIPT vs. CFTAGS in earlier versions of CF, I have not seen such in CFMX. I'm going to rerun my tests in the latest version to see how they run and also look at the class files. A perfect example of a change is that CFIF vs. IIF() in

RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Dave Watts
It's been my experience that using CFSCRIPT never provided any significant performance increase in any case. I disagree. My tests: the function queryRandomize() from DRK 4 (or was it 5?), I rewrote it, line-by-line (including comments!) and called it queryRandomizeCFML().

RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Jim Davis
Third, you're pointing out an approximate difference of three milliseconds per request, which is practically immeasurable by CF (if I recall correctly, CF can't accurately handle time increments smaller than 10 milliseconds). I would question whether that's a significant performance increase,

RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-05 Thread Philip Arnold
From: Michael Dinowitz That's very strange. While I did find some big differences in CFSCRIPT vs. CFTAGS in earlier versions of CF, I have not seen such in CFMX. I'm going to rerun my tests in the latest version to see how they run and also look at the class files. A perfect example of