Today's episode is about creating lazy streams of data using Ruby's lazy enumerators.
Tag: iteration
Episode #263: Immutable Enumerators with Tom Stuart
In today's special guest episode, Tom Stuart shows us the benefits of using enumerators as immutable collections.
Episode #262: Advanced Next
Continuing our discussion of the `next` keyword, today we'll look at some advanced usages.
Episode #261: Next
Today's episode introduces the next keyword, and how we can use it to control the result of loop iterations.
Episode #259: Redo
In today's episode, we use a Ruby keyword to make a loop more flexible in the face of failures.
Episode #257: Retry
In this episode we'll see how Ruby lets us retry operations without resorting to a loop.
Episode #254: Step
We've seen ranges and upto/downto methods. Today we take a look at a generalized way to step through arbitrary, potentially infinite number sequences.