Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Henrique Feijo

Member since Dec 11, 2008

Recent Blog Comments By Henrique Feijo

  • What If ColdFusion Recognized More Truthy / Falsey Values

    Posted on Mar 25, 2011 at 2:41 PM

    Ben, I completely agree with that these values are hard to read. There's a programmer here that always does: <cfif len(string)> ... </cfif> Instead of <cfif string neq "">. It works, but if you're reading the code fast, you will have to process that in your mind if you... read more »

  • I Finally Understand The Finally Part Of A Try/Catch Control Statement

    Posted on Mar 23, 2011 at 3:34 PM

    The finally is actually very useful when you have mutiple catches in a single try/catch block, but you want to, let's say, close an FTP connection if any error occur. Instead of adding the ftp closing code in every single catch block, you can just put in the finally block. In other languages such as... read more »

  • Ask Ben: Working With Inconsistent XML

    Posted on May 23, 2008 at 12:18 PM

    This is exactly what I do when working with XML. Most of the times I use StructKeyExists(xml, node). We never know when someone is going to touch the xml, delete a node, break the application and make us the guilty ones :)... read more »