> that processes on its own.
>
> <!--- No no no --->
> <cfif #check# eq "1">
>
> But one thing I've always wondered is why. I know doing this is wrong
> from years of seeing people scream at developers who do it, but I never
> heard an explanation as to what problems this causes. Anyone know the
> guts behind this?
Well, I wouldn't word it exactly like that. I would say, "don't use hashes
unless you want to get the value of an _expression_ and put that value into a
string."
As for why this is, frankly, it's not really that important. Theoretically,
using unneeded pound signs will cause the server to do extra work, but I
suspect that the amount of extra work is usually insignificant. Personally,
it's more a matter of cleanliness and minimalization. Programmers tend to
favor terseness over verbosity within their code.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

