Hacker News new | ask | show | jobs
by alkonaut 1088 days ago
If you have them inline, you may or may not want them separately as well. The benefit of the separate listing is that it's the total amount required. Inline, you might have 1 egg being added first, and one egg being added last.

Sure, since it's markup you could sum them to two eggs in an auto generated ingredient list, but for a general text format recipe, I'd like to see the egg in 3 places. In the ingredient list it must show "2 eggs" and then on two different locations in the recipe it will say "add 1 egg".

1 comments

I agree with that, but if there is an ingredient used in multiple components, then that should be handled separately so you know you need 200g flour for the crust and 100g for the crumble topping. The shopping list or overall ingredient list needs to know you need 300g, but the ingredients list for each component needs to know what you need just for that component so you don't accidentally throw 300g flour into the crumble.

So, I think the primary disconnect I had was that I thought this was a spec for a recipe, but it's actually a spec for a component of a recipe, or an entire recipe that only has one component. The CookTime person replied to me and showed how the spec can be used in a component paradigm, which makes it much more usable.

https://news.ycombinator.com/item?id=36501915