Kate Morley on Nostr: Reverse Polish Notation should be taught using baking as an example, as it’s close ...
Reverse Polish Notation should be taught using baking as an example, as it’s close to how recipes are written. For example:
“Cream together the butter and sugar. Whisk the eggs and fold in. Sift together the flour and baking powder and fold in. Bake at 180°C for 30 minutes.”
…is effectively:
butter
sugar
cream together
eggs
whisk
fold in
flour
baking powder
sift together
fold in
bake
“Cream together the butter and sugar. Whisk the eggs and fold in. Sift together the flour and baking powder and fold in. Bake at 180°C for 30 minutes.”
…is effectively:
butter
sugar
cream together
eggs
whisk
fold in
flour
baking powder
sift together
fold in
bake