Slide 17
Slide 17 text
2.
Referential Transparency
We can generalize equality and say that every expression that can be
replaced by another expression that denotes the same value is
referentially transparent.
With referential transparency there’s no distinction between the name
of a thing and the value it denotes, so we benefit of optimizations like:
memoization, parallelization, common subexpression elimination, etc.