3 ms·
I'm at most a 2x developer and?definitely have solutions in mind. For one thing, pizza recipes are either dynamically built by the customer or they are just fi
by eternityforest 4y ago
I'm at most a 2x developer and?definitely have solutions in mind.
For one thing, pizza recipes are either dynamically built by the customer or they are just fixed recipes.
Having individual functions for different predefined pizzas is not really dry enough for me.
I would have a pizzas.yaml file, and a get_pizza_recipe("id"). Maybe I'd even read pizza data from an excel spreadsheet directly for ease of editing and sharing by management if needed.