Adding isSame() And isDifferent() Convenience Methods To ColdFusion
Read OriginalThis article discusses adding isSame() and isDifferent() user-defined functions to ColdFusion as semantic wrappers around the built-in compare() function. The author explains how compare() returns numeric results (0 for same, non-zero for different) and creates Boolean wrappers that are more readable. The functions are case-sensitive and intended for use in a CFML project called Big Sexy Poems (BSP) for poem revision management. Includes code examples and output demonstrating usage.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet