Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Chandan Kumar and Sagar Ganatra
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Chandan Kumar and Sagar Ganatra@sagarganatra )

Jeff White

Member since Jun 11, 2012

Recent Blog Comments By Jeff White

  • Object Calisthenics In JavaScript - An Introduction

    Posted on Jun 11, 2012 at 6:18 PM

    @Peter, The idea of avoiding ELSE is that you decouple these actions from their relative context, making them usable anywhere. So as opposed to your example you could write: function doSomethingForThisCondition(){...} function doSomethingForThatCondition(){...} Or, better yet, you could d... read more »