Reply to topic

Do you use <CFSCRIPT>?
Always! Whenever Possible
16%
 16%  [ 1 ]
Sometimes
16%
 16%  [ 1 ]
Only for calling some functions
0%
 0%  [ 0 ]
Only when its absolutely necessary
16%
 16%  [ 1 ]
Never
50%
 50%  [ 3 ]
Total Votes : 6

To Script or Not To Script
Jason101
Forum Regular

Joined: 14 Mar 2006
Posts: 550
Location: Harrisburg, PA
Reply with quote
Figured I would put up a poll on fellow Coldfusion coders opinion on CFScript. (And since there hasn't been a CF poll in a while Razz )

An application was handed to me yesterday coded in about 80% CFScript and I cringed Mad .

According to Ben Forta, there is nothing that <CFSCRIPT> can do that CFML tags cannot do (which was not the case pre-CFMX), and there are no real performance gains in using <CFSCRIPT> (which was not always the case pre-CFMX).

(Article here: http://www.forta.com/blog/index.cfm?mode=e&entry=1416)

So with that said, For those of you that always use <CFScript>, why do you use it over standard CFML if there is no performance gain?
Shaji


Joined: 21 Feb 2005
Posts: 83
Reply with quote
Jason,

Sometimes, I use CFScript.. Depend on personal taste.. For example, I'm originally a C/C++ guy.

in CFSCRIPT I would write this:

for (i=0; i LT 10; i=i+1) {
...
}

Cheers,
Shaji
To Script or Not To Script
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic