A bit off topic, but -
All of these things can be represented as prosesses and communicate via messaging. A batch of a given recipe would have a brewdate and so forth.
Be very careful here. If I’m reading your remarks correctly, it sounds like you are trying to model entities as processes (a practice with a “bad smell” common to Object Oriented programmers, myself included, who move into the functional world).
If that’s the case I would recommend reading To Spawn, or not to Spawn?. There are other, similar articles on the web.
I’m not saying “don’t do that” but give it some careful thought.


















