iterator-three-consequences

Status: IN

The Iterator pattern has three key consequences: (1) it supports variations in traversal algorithms over an aggregate, (2) it simplifies the aggregate interface by removing traversal methods, and (3) it allows multiple concurrent traversals on the same aggregate.

Source: entries/2026/06/17/gof-oo-chunk-17.md

Depended on by

JSON