An Alternate Way

Learn how the problems of impure implementation can be solved with pure implementation.

Maintaining referential transparency

In the previous lesson, we saw how important referential transparency is for functional programming. If we want referential transparency, we must push the side effects to the boundaries of our system (program). This can be done by using lazy evaluation.

Let’s see what lazy evaluation is by repeating the example from ...

Access this course and 1400+ top-rated courses and projects.