Coldfusion’s IsDate() method has fooled me for the last time. Where as any self respecting programmer would think that a method name IsDate, that returns a value of ‘yes’ or ‘no’ no less, would be checking to ensure that the date in fact is valid. That is where I was wrong. Looking at the method [...]
I think I may have stumbled upon some odd, unexpected and (definitely) undesired behavior with ColdFusion. The application that I’m working on has a module which needs to create a bit of dynamic SQL. Not a problem here, as I step through my conditions I’m populating an array that I can later loop through to [...]
This is something really simple that I consistently overlook. When considering StructKeyExists() or IsDefined(), StructKeyExists() normally always wins. It’s scope parameter instructs ColdFusion where to look for a particular variable, where as IsDefined() forces Cold Fusion to search through all the scopes. The performance impact is obvious.
A possible exception to this rule, and where [...]
I don’t understand why ColdFusion insists on making things difficult. I’ve come to understand that it is not possible for ColdFusion to make use of inherent input arrays when one or more input elements is left empty. For some reason ColdFusion always drops the empty values from the array. I can’t think of any possible [...]
I have a love/hate relationship with Coldfusion. (Okay, so it’s more hate than love) But one of the aspects of the programming language that I have come to love is it’s simplicity with dealing with regular expressions. Using predefined methods such as reFind() and reReplace() have made task, which could have been overly frustrating, very [...]