Skip to content

Instantly share code, notes, and snippets.

@colevandersWands
Last active October 12, 2023 08:48
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 colevandersWands/4f6c4ef1b6b41b954bc5e8604bae33d4 to your computer and use it in GitHub Desktop.
Save colevandersWands/4f6c4ef1b6b41b954bc5e8604bae33d4 to your computer and use it in GitHub Desktop.
baked squash pseudocode recipes
"""A simple recipe for baked squash, delicious."""
# gather ingredients
squash = "🎃"
spices = ["coriander", "ginger", "black pepper", "allspice"]
veggies = ["much garlic", "onion"]
marinade_bases = ["olive oil", "maple syrup"]
# prepare the marinade
marinade = marinade_bases.join()
marinade += spices
for veggie in veggies:
marinade += veggie.split()
# marinade the squash
squash_halves = squash.split()
seedless_halves = filter(lambda half: delattr(half.seeds), squash_halves)
holey_halves = map(lambda half: half.poke_holes(), seedless_halves)
prepared_halves = map(lambda half: half.fill(marinade), holey_halves)
# preheat the oven
while oven.preheating("high"):
pass
# bake the squash
burnt = False
while not burnt:
for half in prepared_halves:
if half.color == "black":
burnt = True
# serve and eat the squash
portions = map(lambda half: half.slice(), prepared_halves)
friends = ["..."]
friends.fill(portions)
=== A simple recipe for baked squash, delicious. ===
--- Gather Ingredients ---
squash
spices: coriander, ginger, black pepper, allspice
veggies: much garlic, onion
marinade bases: olive oil, maple syrup
--- Prepare the Marinade ---
get marinade bowl
FOR EACH marinade base
pour in marinade bowl
FOR EACH spice
mix in marinade bowl
FOR EACH veggie
slice it very small
mix in marinade bowl
--- Prepare the Squash ---
cut the squash in half
FOR EACH half
poke many little holes
fill with marinade
--- Heat the Oven ---
WHILE oven is not hot
wait
--- Bake the Squash ---
WHILE squash is not burnt
IF squash is black
remove from the oven
--- Serve and Eat the Squash ---
FOR EACH friend
serve on portion of squash
WHILE friends still hungry AND squash is not finished
serve more squash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment