Why IIF() Should be Avoided
- May 17, 2010 11:37 AM
- ColdFusion
- Comments (8)
I was recently reviewing some code from one of my client projects and saw that the previous developer had liked to use IIF() functions to handle the conditional switching of things like button labels. I idly quipped on Twitter that Every time you execute IIF() an angel loses its wings.
A few minutes later a request for some explanation came in on Facebook: Why's that? I like IIF().
Here is why you should avoid IIF().
Read More
Print
Send
Digg It!

