Want this course?
The Benefits of Laziness
With all of those gotchas, why even have lazy sequences in the language? What are the benefits? The biggest reason is to separate out two concerns: how something is generated from what you do with it. In this lesson, I explore an example of operating on millions of users with and without laziness.