Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Jason Seminara
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Jason Seminara@jseminara )

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 »