|
|
|
|
|
by daly
1495 days ago
|
|
Write a recipe for cake. Should you think that is easy, think again. What pan should you use? It depends on the size of the cake. Where is the pan kept? Is it in a cabinet? What kind of door handle, twist or pull? Is it under something? What ingredients? How do you combine them? Do you 'stir'? How many times in how many directions for how long? What kind of topping? (That's a subroutine). Again, what ingredients? How combined? How stirred? Do you use milk? Is it in the refrigerator? If not, do you go to the store? How do you go to the store? By car? What kind of car? Does it have enough gas? How do you navigate? What if the store does not have milk? Do you find a cow? Think of all possible questions and provide answers as part of the recipe. NOW you're programming. |
|