When the only tool you have is a hammer, everything starts to look like a nail
For those confused about the word calculus, don't fear, there will be no math here. The definition of calculus (from Wikipedia)
To modern theoreticians the answer to the question "what is a calculus?" is: any systematic way of reasoning.
The problem with knowing a subject too well is that everything else in life is somehow defined in those familiar terms. Recipes are really instructions. The world of software has a rich technology base for describing instructions. Ergo, this post.
For some time now I have been struggling with a format to best express recipes. The current format is usually a list of ingredients, followed by paragraphs of procedure. While this works, its lacks of rigor is distasteful in many ways. The biggest problem is that natural language (english being one), is a terrible choice for describing operations that can happen in parallel. Cooking if done efficiently is an exercice in concurrent operations. Rarely is there just one thing on the stove, and even one pot meals are best done if while one thing is cooking, others are being prepared.
My father loved cooking and was a great cook. As he got older he became a slower chef. Not because he couldn't chop as fast, or because his stove was not as hot, it was because he lost the ability to consider what operations can be done in parallel.
My first inclination was to express a recipe in some grammer that was not only human readable but also compter readable. The benefit of the latter is because once a language is computer readable it can easily be formated in any desired way, units, proportions can all be altered with ease.
Not everyone can just read a recipe and get an idea of how much time will this take me. Sure there are cooking durations, but more often than not, you don't have to stand attention the entire time. I want to know a) what I have to have and b) how long do I need to do this and not do something else. Cooking itself is something that can be done in parallel with other life activities.
So I have tried my hand at a format, its a spreadsheet of sorts. Time goes to the right. Any task that is in the same column can be done in parallel. For example while something is browning, you can be dicing vegetables for the next step. As the number of dishes increases, so does the things that can be done in parallel.
The term mise en place is a french colloquium for getting everything ready before you start. That process is a specific instance of this general idea. Also the french notion of four mother sauces, is really just what we software call base classes that are later instantiated, or you use them to derive even more specific sauces.
Its not rocket science, but I do think that the recipe world needs a more formal methodology for expressing the process.

No comments:
Post a Comment