April 2017
Intermediate to advanced
316 pages
9h 33m
English
Referential transparency generally means that we can always replace a function with its return value without an effect on the application's behavior.
Referential transparency is a guarantee of code reusability. Also, it denies the mutable state of data. In the case of a mutable state, two calls of the same function can potentially produce two different results, which is very difficult to test and maintain.
Read now
Unlock full access