I like iif() because you don't have to assign a temp variable to hold
the result of the condition, or have somewhat-duplicated code within a
cfif/cfelse block.

M!ke 

-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 23, 2006 12:40 AM
To: CF-Talk
Subject: RE: iif: am I understanding correctly?

Hmm, I had always just figured that cfif and iif just compiled down to
the exact same java anyway...

I wonder if one could have an advantage over the other if the condition
was either true or false....  all this worrying over a few microseconds
:)

~Brad

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247426
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to