Shuffling Jeff Atwood 03 Dec 2007 — 3 min read — Comments Pop quiz, hotshot. How would you write code to shuffle a deck of cards?