This commit is contained in:
wgroeneveld 2017-06-08 20:58:00 +02:00
parent 32e494bad6
commit b51088c739
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,58 @@
---
title: 'Development principles in cooking'
date: '2017-06-09'
tags: ['cooking', 'development', 'principles' ]
published: true
---
A lot of people seem to think I'm the kind of chef who uses loads and loads of ingredients, combining and layering without thinking twice. We were having a discussion about what to cook for dinner this evening. It's ['donerdag veggiedag'](http://www.evavzw.be/donderdag-veggiedag), an initiative from the Belgian EVA VZW to eat a vegetarian meal each thursday, and since I'm a vegetarian, it's generally accepted that I should know a lot of good recipes.
> Friend: "So, what's for dinner today, veggie?"<br/>
Me "Uhm, act-"<br/>
Friend: "Nevermind, you always cook super complicated stuff, right, I can't do that."<br/>
(conversation continues about something else)
That got me thinking. Do I think of myself as a 'complicated' chef (sounds cooler than cook)?
## Complex to simple
The answer is: I don't. I think I used to. When I started cooking for myself 10 years ago, I did my best to live up to my father's expectations to prepare intricate meals with lots of different steps to prepare. But as I had no idea what I was doing, I continually failed at creating something decent. I did not hesitate to create my own Thai curry paste, without even knowing what the required ingredients where. I bought a bag of 2 kilo dried hot peppers from the local asian market without even knowing I would ever use 4 of those peppers. I read and loved cookbooks like Yottam Ottolenghi's [Plenty](https://www.goodreads.com/book/show/8086216-plenty?ac=1&from_search=true) but couldn't keep up with the staggering amount of fresh herbs required for each recipe.
Years passed. My cooking behaviour changed. I started to get the hang of it. I learned to learn about cooking, the **meta-cooking**, the 'deep stuff'. I got into fermenting, creating simple things myself, creating everything myself and knowing what I'm doing and why I'm doing it. I started being addicted to food related (the why) books and stopped reading cookbooks (the how).
So, my style evolved, as it usually does when you're doing something for quite some time with **deliberate practice**, with **attention to detail**.
Today, after that weird discussion ending, it actually hit me: you can apply several software development principles to (my) cooking style(s).
### KISS: Keep It Simple, Stupid!
Instead of throwing every herb and spice you have at something, be more picky. Think about what will go well with that one ingredient. Is pepper really needed here? Should you even add cheese, doesn't that hide the taste of your main ingredient? **Keep it simple**.
I made something really simple for dinner: tortilla's. That would require something nice spreadable and some topping. I bought some local (another thing to focus on) buffalo mozzarella from the Ardennes and still had a cooked beetroot. BAM.
Well, not really. I added a fermented shallot to create a sour tang and - of course - some salt. Because it had to be spreadable and because I happen to love olive oil, that was also added.
![YAGNI](/img/yagni1.png)
Three ingredients. (Salt and oil doesn't count as an ingredient in my kitchen)
That's it.
Okay, I'm lying, fermenting a shallot requires a week of undevoted attention. (It actually does not...) I like **layering simple things** to create something complex, but still in essence, simple.
I made something really simple this morning: a REST API. <br/>
I made something really simple this evening: a beetroot spread.
**You Aint Gonna Need It** (YAGNI) is a variant of KISS. You won't be needing those nuts in a pesto if you're using a lot in pasta, you won't taste that anyway combined with the hard cheese. I've found it a lot better if you toast the nuts whole and add them to the meal as a finisher, instead of grinding them in the pesto. Leave out the nuts when making a pesto as pizza base, that's going to be expensive and you won't be tasting it.
Less is more, right?
### DRY: Don't Repeat Yourself!
Using a lot of the same tasting ingredients can ruin the whole meal. Simple examples are something too sour (lemon and too much acidity) or too sweet (strawberries with honey and sugar). Of course, fervent sweet lovers will disagree on this one. But it's a handy rule when combining ingredients.
Don't add too much vinegar and a lot of lemon.<br/>
Don't add loads of pepper combined with chilli.
I think you can extrapolate any general programming principle to cooking principles if you're a bit creative.
That said, I still don't have a clue of what I'm doing when cooking because each time you try to create something, you end up with something else but you've also been on a journey. [Food Lab](http://mobile.seriouseats.com/2011/10/the-food-lab-the-science-of-risotto.html) might help me create a better risotto but in the end you're the one who has to buy and cook the rice...

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

BIN
static/img/yagni1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB