Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with:

David Polehonski

Member since Nov 1, 2013

Recent Blog Comments By David Polehonski

  • Very Strange Script-Based Behavior For CFParam In ColdFusion

    Posted on Nov 11, 2013 at 4:02 AM

    @Ben, That behaviour is expected. The first param statement checks for the existence of a variable called 'name' and sets it to "rc.a" then the second param statement looks for a variable called 'name' which it finds because the previous one has just created and set it. So it doesn't do a... read more »

  • Very Strange Script-Based Behavior For CFParam In ColdFusion

    Posted on Nov 1, 2013 at 10:30 AM

    @ben, Yes, the appearance of a variable called 'name' with the value 'rc.a' is quite absurd.. it's like the CFML engine fails to parse the param call and only sees a 'name="rc.a"'; variable assignment... this may be due to the fact that when param was first converted to cfscript it suppor... read more »

  • Very Strange Script-Based Behavior For CFParam In ColdFusion

    Posted on Nov 1, 2013 at 8:52 AM

    I would expect the rc variable to leak into to variables scope if the argument is not passed in. CF behaviour treats optional arguments as 'UNDEFINED' if they haven't been passed in, therefore the variable 'rc' doesn't exist in any scope and created by default in the variables scope. As Seb said, it... read more »