Hi Alan,

I completely understand the reasoning behind not using restricted words, but
I didn't think NOW was restricted. I thought it was more for keywords,
operators, etc. I could be completely wrong, but you do mention engine
functions, so you might just be right!

When I was writing the code I saw myself using now() often and embraced
within other () instances, so I figured it would be easier to read if I just
used NOW in place of now().

So I guess what you are saying is the bad thing isn't that I renamed now()
to a easier to read label, but it's the use of NOW, which is the same as the
primary function name, which is bad practice??

off topic, but I've written almost everything in CFML tag format. I don't
use cfscript. Mostly because I'm trying to get this project done and working
before I do any extensive rewrites. Most of it is adhoc, but like I said, I
need to make it work first. Once I have everthing in place, I'm going to
have the code audited for ways to make it better. I just won't have the
budget and time for finding the best absolute way to code something until
after I get a working model done.

Having said that, I'm curious, and was just googling this. Is there a
performance advantage to CFSCRIPT over doing everything with tags? Or is it
just easier to write and read due to less syntax used?

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to