Hi Nick,

In ColdFusion version 5 there was a slight performance increase in using
code written in CF Script. Now that CF is fully compiled into Java byte
code I'd be surprised if that's still the case in MX (although I haven't
checked). In terms of debugging, CF seems to be able to point to errors
written in the tag based syntax a little more accurately.

It's really just a personal preference thing now. Personally, when writing
large chunks of code, I find cfscript syntax easier to read. It also
clearly distinguishes the business logic code in a template from the
presentation code.

Having said that, there are some times that writing in the tag syntax is
more readable eg. using <cfloop> to loop over a list; using <cfoutput> tags. So I use
whatever syntax is most appropriate.

There will be plenty of CF developers who work differently, but now that
functions can be declared in a tag based syntax there's no clear reason to
always code one way IMO.

Cheers

Tim

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to