Code Snippets

David Robinson has a nice heuristic: if you’ve explained something three times, write a blog post about it. I decided that if I’ve had to look up how to write a piece of code three times, then I’m going to write a code snippet. Consider this a stream-of-consciousness coding cookbook. Use at will.