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

Scott Smith

Member since Jan 13, 2010

Recent Blog Comments By Scott Smith

  • ColdFusion 10 - Looping Over Function Arguments

    Posted on Apr 16, 2012 at 10:23 AM

    This might be a bit off topic, but while I like the functionality of arrayEach and structEach, I would have preferred a more conventional syntax. For example: If x is a struct: x.each(function(key,value){ //Do stuff }); If x is an array: x.each(function(value){ //Do stuff });... read more »

  • Branching Logic vs. Guard Logic When It Comes To Function Control Flow

    Posted on May 17, 2011 at 11:19 AM

    Maybe it is due to the simplistic examples provided, but I am having trouble finding either scenario to be more advantageous than the other. To me, they both read very similar. I am sure this is a very subjective topic though and many will prefer one over the other. I sometimes find multiple exit p... read more »