let mut cooking_journey = cookingjourney::new(); while let some(secret_recipe) = cooking_journey.find_hush_hush_recipe() { cooking_journey.evade_precommittal_questionnaire(); cooking_journey.add_ingredient(secret_recipe); if cooking_journey.is_time_to_return_to_the_beginning() { cooking_journey.start_over(); } cooking_journey.enjoy_the_process(); }