November19

Awesome Code - Part 1

Posted by Benjamin Robbins | Filed under , , | Comments (2)

In the Awesome Code series, I’ll share snippets of code that I find especially awe-inspiring or elegant.

The code originates from Marc Gravell on Stack Overflow, and I claim zero credit in originating this code. Per Marc’s profile, this code is posted to the public domain. Without further ado, here’s the code. Try to figure out what this code accomplishes before you read my explanation below. Full article ...