Innovation-Hub / barbot

Robot assisted cocktail maker, with Intel Galileo.
15 stars 5 forks source link

Recipes should be expressed in a higher-level way #1

Open korfuri opened 10 years ago

korfuri commented 10 years ago

Recipes are defined as such:

{ "name": "Irish Coffee", "api": "irishcoffee", "ingredients": [ {"index": 7, "time": 5000}, {"index": 8, "time": 2000} ] }

This recipe is problematic for several reasons:

From a recipe writer's point of view, recipes are also problematic in that they require two unique identifiers: the name and the API handle. The API should support access-by-name, and the API handle should be removed from the recipe description.

stumpyfr commented 10 years ago

Thanks for your feedback. We are aware of these problem, that is only the first version as a sample for our students of what you can create in one day. We will now make some major evolutions or we hope, students of our school will make them :).