Recap

To summerise think of a cooking recipe. If you want someone else to make a lasagna dish you must write instructions for them, and not just instructions.

To write a list of instructions, one that other people could follow reliably, you’d have to think it through. 

  • You’d have to focus on the exact quantities (ingredients, tools, etc.). 
  • You’d have to break it into small steps and have those steps in the right order. You don’t want to say “add minced meat” after you had just said “bake @300*C for 40 minutes”. No one wants to eat raw meat. 
  • In addition, you’d probably have to test or have someone else test your recipe to make sure that there isn’t anything you forgot, especially if you want to publish your work. 
It’s the same with programming. Let’s find out more in the next lesson where we dive into the code.