this is how not to tell a robot to make a sandwich
- wash hands
- grab bread from the bag
- spread butter on the bread
- add marmite on top
- close the sandwich
- cut it half
- eat
This is what to say instead
- go to the sink
- turn on the cold tap
- get your hands wet in the water
- Squirt one pump of soup on your palms
- rub your hands together
- rinse the soap off your hands with water
- turn the tap off
- grab a towel
- dry your hands on the towel
- open the bread bag
- take two slices of bread from the bag
- place the bread side by side on the plate
- pick up the handle of the knife
- open the butter
- stab the butter near the edge with the blade
- put the butter on the knife blade
- spread the butter evenly on one of the biggest sides of the bread
- put down the knife
- replace the lid on the butter
- pick up the knife by the handle
- open up the marmite
- get a little bit of marmite on the knife
- spread it evenly on the buttered piece of bread
- put the knife down
- replace the lid on the marmite
- grab the unbuttered piece of bread and plase the biggest side down on top of the buttered piece.
- pick up the knife by the handle
- cut the sandwich in half
- enjoy
Why is it good to have detailed method
it is good so that we can understand the instructions and so we don't muck up.
*i'm not actually a robot programmer