Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with: Ellen Kaspern and Craig Capudilupo
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with: Ellen Kaspern and Craig Capudilupo

Steven

Member since Apr 1, 2014

Recent Blog Comments By Steven

  • Implementing Java's Collections.Shuffle() In JavaScript

    Posted on Apr 1, 2014 at 4:38 PM

    Mike Bostock did a pretty good explanation of the various approaches to JS shuffling here, with Fisher-Yates taking pride of place at the end: http://bost.ocks.org/mike/shuffle I found myself using it often enough to turn it into a gist and forget about it. Like you said, the best part has to be ... read more »