When I was a child in elementary school, my cousin (also my classmate) and I went back to my home after school, and my father was out then, so dicided to make noodles, I added a scoop of salt, then he found it was too salt, and then I add a bowl of water, then I found it was tasteless, he then added a scoop of salt, and I found ...he then added a bowl of water ... then ... at the end, the boiler was full of water and it probablly could serve 10 people.
The problem with the cooking analogy -- which has always bugged me -- is that there aren't complicated control structures in cooking. Most recipes don't contain loops or conditionals.
The BASIC programming manual that came either with my Atari 800 or TI-99 had a good cooking analogy for loops and conditionals. The example used was continually adding a pinch of salt to a dish and then tasting it until the flavour was correct.