Side Effect (computer Science) - Referential Transparency

Referential Transparency

Absence of side effects is necessary but not sufficient for referential transparency. Referential transparency means that an expression (such as a function call) can be replaced with its value; this requires that the expression has no side effects and is pure (always returns the same results on the same input).

Read more about this topic:  Side Effect (computer Science)

Famous quotes containing the word transparency:

    “End of tomorrow.
    Don’t try to start the car or look deeper
    Into the eternal wimpling of the sky: luster
    On luster, transparency floated onto the topmost layer
    Until the whole thing overflows like a silver
    Wedding cake or Christmas tree, in a cascade of tears.”
    John Ashbery (b. 1927)