Great writeup Suprabha Supi. 👍
I would also like to add that:
- Pure functions allow us to write parallel code.
- Pure functions output can also be cachable because they always return the same output, increasing code performance.
- Pure function should be composable or obey the function composition concept.