14

cupcake nerdity: #include

Jan
2 Comments » |  Posted by adriennefriend |  Category:Uncategorized

A guest post by my sweetie, Nate, a programmer at a local web development firm:

After finding that some code you’ve previously written would be useful in some program you’re working on currently, it would be a shame if you had to just copy-and-paste that original code into your new project, right? What if there was a bug in that original code? Now you have to fix it in two places: the original program, and the program you copypasta’d it into.

A better idea is to “include” code you’ve previously written in a new project. You do this by saying (in C) “#include <file.h>” where file.h is a file containing some previously written code. Now, when you find that bug and update file.h, your new project will benefit from the fix automagically.

Applied to cupcakes: delicious desserts that #include a file like <yummy.h> are a way for the chef to say “Look, I’m awesome, and have already mastered the cupcake thing. I’ll just #include the yumminess I’ve created in the past”.

nerditycuppiecakes

Thus, these delicious vegan cupcakes “#include <yummy.h>” and import all that tried-and-true vegan cupcake numminess into the new batch.

chef’s note: Inspired by the beer glasses, I made these cupcakes for the Richmond Hardware Co-op work day. The Hardware Co-op is a ministry of the Richmond Church of the Brethren that accepts donations of old computer hardware, cleans it up, installs free/open-source software (like Ubuntu or Kubuntu Linux), and donates the finished machine to the needy in our community. (I use Kubuntu. *grins*) If you’re local & want to help at the Co-op, be in touch with Nate here or Mark here.

nom om om om om!!!

2 Responses to “cupcake nerdity: #include

  1. Ms. Humble says:

    Nerdy, cute and delicious!

    The glaze looks gorgeous. What was used? I am assuming that there was no cream involved.

  2. adriennefriend says:

    Tee hee! Glad you like. I am in total awe of your stuff. :)

    Thanks so much for the “glaze” compliment, too. The reason it’s so shiny: I had to frost them when the cupcakes weren’t totally cool (I know, I know!) in order to deliver them by the tail end of the event. The white/vanilla is simply home-made vanilla extract (beans + grey goose :) ), powdered sugar, earth balance vegan margarine, and a little splash of soymilk. The chocolate ganache was made with fair trade chocolate chips, soymilk, and maple syrup. Easy peasey!

    Thanks again for your encouragement!

Leave a Reply