Thus far I've helped install two of the largest ColdFusion-based content management systems for two different clients, and in comparing both one thing is evident: they both just love structs.
Over on Peter Bell's blog he wrote the article that I was going to write on The Benefits of Named Arguments When Calling CFC Methods, thus saving me the trouble (Thanks Peter). However, I would like to add another interesting way to use them, and that's the topic of this post.
Typical "if it doesn't exist make one" test, right? Now, how many people know that under the right circumstances, this function can blow up with an error?