Skip to main content
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Nathan DeJong
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Nathan DeJong


Member since Feb 27, 2012

Recent Blog Comments By Thom

  • Converting Between String And Binary Values In ColdFusion

    Posted on Aug 24, 2012 at 12:15 PM

    Not using UTF-8 is very common. Notably, Java uses UTF-16 for their internal string representation. UTF-8 has only become popular (relatively) recently, due to the fact that it's partly backwards compatible with ASCII. I wouldn't be terribly surprised if the default for toString was ASCII (an eas... read more »

  • Relative File Paths Work In A ColdFusion File System

    Posted on Jul 16, 2012 at 12:42 PM

    I've always found ColdFusion's lists (delimited with "/") to be an elegant way of traversing directories. (Though it doesn't fair as well with this example.) <cfset parentDirectory = ListDeleteAt(currentDirectory, ListLen(currentDirectory, "/"), "/") /> ... read more »

  • ColdFusion 10 Beta - Closures, Function Expressions, And Functional Programming

    Posted on Feb 27, 2012 at 3:07 PM

    @Ben, Very nice library of higher order functions. I especially like memoize. A nice addition could be curry, which takes a function and some arguments, and partially applies those arguments to the function. For example, curry(function(a, b){ return a+b; }, 7) would return a function... read more »