What is the meaning of the term "Non-observable" when used in context with the term "referentially transparent" in functional programming?
相关问题
- Unusual use of the new keyword
- Get Runtime Type picked by implicit evidence
- What's the point of nonfinal singleton objects
- PlayFramework: how to transform each element of a
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- Gatling拓展插件开发,check(bodyString.saveAs("key"))怎么实现
- RDF libraries for Scala [closed]
- Why is my Dispatching on Actors scaled down in Akk
- Is there something like the threading macro from C
- How do you run cucumber with Scala 2.11 and sbt 0.
- Learning F#: What books using other programming la
- Creating a list of functions using a loop in R
- GRPC: make high-throughput client in Java/Scala
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.