News for hackers. Stuff that matters.
Re:Do notation considered harmful by declnz on Wednesday April 29, 2020 @07:09AM (#23017808)
Cooking recipes are interesting - I often note how un-imperative (or at least, implicitly parallelised) they can be throughout, e.g.

- Wash the rice - Boil the rice gently for 20 mins - Whilst the rice is cooking, sauté the finely diced onions.. - Before they've turned brown...

Re:Do notation considered harmful by kqr on Wednesday April 29, 2020 @07:19AM (#23017862)
And this only increases with the experience of the chefs involved. When an experienced chef discusses a dish with another experienced chef, they will talk in common high-level abstractions like roux and emulsifier without going into detail in how to first make those components.

And then at the next level up is complete base recipes, like "this is essentially a bearnaise except with _____" or "you start with a ______ but instead of _____ you _____". So the recipes are expressed with combinators over modifiers and existing recipes.

Re:Do notation considered harmful by felixyz on Wednesday April 29, 2020 @10:17AM (#23019525)
Love it.
Re:Do notation considered harmful by rossng on Wednesday April 29, 2020 @09:07AM (#23018629)
This reminds me of a website called Cooking For Engineers[1] which uses diagrams to represent the parallel and sequential parts of a recipe (e.g. [2]).

[1] http://www.cookingforengineers.com/

[2] http://www.cookingforengineers.com/recipe/172/Pan-Pizza/trn