What is the meaning of the term "Non-observable" when used in context with the term "referentially transparent" in functional programming?
As you might know, the term "referentially transparent" means that the value of expression can depend only on the values of its parts, and not on any other facts about them.
For example, it cannot depend on the following:
All those facts about the current state of the program are either true or false, but no expression can change its value depending on them. So those things are called non-observable.
This webcomic and its discussion on reddit might enlighten you as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With