Cooking is hard work that's often hard to be passionate about. Yet, once programmer Brett Terpstra started seeing the similarities to coding, the whole process became a lot more interesting. Photo by Robert Couse-Baker.
This idea's not necessarily a new one, but Terpstra's blog post is a fun read, especially if you've always found cooking to be a chore. Here's one example of the parallels:
Sites like Yummly have quickly become my GitHub for cooking. I can download and run a recipe, see the results, and in the process of executing the recipe code, I learn how each part works.
And like GitHub, you can copy and paste code, but you learn a lot more if you examine it, break it down, and then rebuild. Along the way you learn skills, syntaxes, and concepts that allow you to bend it to your will.
A single blog post won't necessarily insight a spontaneous love for cooking in any old coder out there, but the framework's a useful one for understanding the steps nonetheless.
Kitchen Coding [Brett Terpstra]