Skip to content

Commit

Permalink
revised the article after creative writing session
Browse files Browse the repository at this point in the history
  • Loading branch information
belle903 committed Dec 20, 2024
1 parent c11e5bb commit ff6620b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 2024/article_algorithms_as_recipes/article.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Algorithms are just recipes

Algorithm - the buzzword many people use but do not know about its meaning. There is an easy way to understand this big word.
Algorithm - the buzzword many people use but do not know its meaning. There is an easy way to understand this big word.

In one of my first lectures during my bachelor's, a professor used 'recipe' as a metaphor for an algorithm. When working with algorithms, we have an input, follow some steps, and return an output. Those steps can be iteratively one by one or loops where we repeat a certain process multiple times.
When working with algorithms, we have an input, follow some steps, and return an output. Those steps can be iteratively one by one or loops in which a process is repeated multiple times. The same procedure as when following a recipe.

Taken the example of making the dough for cookies. As input we take flour, butter, sugar and an egg. For the steps we need to knead the flour, butter, sugar, and the egg until the mass becomes a smooth dough (while loop). Now we have the finished dough ready to be processed (output).
Take the example of making the dough for cookies. As input, we take flour, butter, sugar, and an egg. For the steps, we need to knead the flour, butter, sugar, and egg until the mass becomes a smooth dough (while loop). Now, we have the finished dough ready to be processed (output).

## Authors
Laura Engist

0 comments on commit ff6620b

Please sign in to comment.