Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at NCDevCon 2011 (Raleigh, NC) with: Vicky Ryder
Ben Nadel at NCDevCon 2011 (Raleigh, NC) with: Vicky Ryder@fuzie )

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 »

  • How To Build A Custom jQuery Selector

    Posted on Jan 13, 2010 at 8:16 PM

    @Ben, Well I didn't think that was the case, but it could be confusion on my part. Let me try and clarify. What I would expect to happen based on the selector I posted above, would be for it to find a any list item within an unordered list with a class of "test" and then once it has narrowed res... read more »

  • How To Build A Custom jQuery Selector

    Posted on Jan 13, 2010 at 4:55 PM

    Very interested in this, but I was wondering if you could explain something. I plugged your code into a view that is rendered within one of our layout pages with a ton of other list items on the page and threw a console log of the arguments in the custom selector just to get a little more clarifi... read more »