Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Last active January 15, 2020 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IntegerMan/cac333344005d5cb2ddbbeba4ed510e4 to your computer and use it in GitHub Desktop.
Save IntegerMan/cac333344005d5cb2ddbbeba4ed510e4 to your computer and use it in GitHub Desktop.
public PastaMeal BuildPastaMeal(IEnumerable<Guest> guests,
KitchenSupplies inventory,
DateTime timeOfDay,
IngredientPriceData pricingData)
{
var dinner = new PastaMeal();
// Add a quanity of pasta per guest based on time of day and kitchen supply quantities
// This algorithm will try to prefer cheaper types of pasta
return dinner;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment