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 Scotch On The Rock (SOTR) 2010 (Brussels) with:

Edward Barnard

Member since Jan 26, 2010

Recent Blog Comments By Edward Barnard

  • Using Double Not-Operator (!!) For Boolean Type Casting

    Posted on Jan 27, 2010 at 3:08 PM

    @Ben, I found your excellent blog by searching for a way to trap jquery json-ajax errors. You gave me what I need; I can provide an error handler to $.ajax. Thank you! You make a good point about true/false/null as the success/failure value being a bit fishy. Remember that both PHP and Javascript ... read more »

  • Using Double Not-Operator (!!) For Boolean Type Casting

    Posted on Jan 26, 2010 at 12:04 PM

    A reason for using !== and === in javascript (and php) is when you are explicitly testing for a boolean value. When you truly want to know if it is TRUE or FALSE, you can get "fooled" by other non-boolean values getting typecast to the boolean value. For example, you are dealing with a function tha... read more »