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 color-coded by CF Studio.

Just my $.02, don't look a gift horse in the mouth, and never trust a
bald barber.

Pete

Howard Fore wrote:
> 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 stopped using cfscript altogether, simply because of
> the time I lose trying to maintain a logical block of code in one
> paradigm or the other. As always your mileage may vary, products may
> settle during shipping, and objects may be closer than they appear.
>
> --
> Howard Fore, [EMAIL PROTECTED]
>
> On Apr 5, 2004, at 8:40 PM, Philip Arnold wrote:
>
>  > There is the one advantage to CFSCRIPT over tags
>  >
>  > Readability
>  >
>  > If you can read Script easier than reading tag based code, then use
>  > Script
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to