tl;dr Patterns, 20 Years Later: Iterator ...

Problem

Context

Solution

Some questions arise out of this:

Implementations

Consequences

A Iterator tends to lead to several consequences:

Variations

A couple of different takes on the Iterator include:

Last updated: 25 February 2022

Tags: pattern   behavioral