Live briefing
Everything about Iterator pattern
Software design pattern
In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements. The iterator pattern decouples algorithms from containers; in some cases, algorithms are necessarily container-specific and thus cannot be decoupled. Wikipedia →
đź§ Start here: a 6-step reading path
- Read the overview: Iterator patternA 5-minute orientation
- Pick up a classic book: Stochastic processes with learning propertiesThe most-reprinted book on the subject
- Read the landmark paper: The essence of the Iterator patternCited 43 times
- Go sideways: Composite patternA closely related topic
- Go sideways: Abstract factory patternA closely related topic
đź“– Definitions
Noun A behavioural design pattern that uses an iterator to traverse a container and access the container's elements, thus decoupling algorithms from containers.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
The essence of the Iterator pattern
Distributed result set iterator: a design pattern for efficient retrieval of large result sets from remote data sources
Sorting non-key fields in the distributed result set iterator pattern
A Study on the Application of the Iterator Pattern to Enhance Software Reusability
📚 Books worth reading
Stochastic processes with learning propertiesSándor Csibi · 1975
The Road To Microservice ArchitectureRaymond Pairan
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
đź”— Related topics
- Composite pattern In software engineering, the composite pattern is a partitioning design pattern. The composite pattern describes a group of objects that are treated the…
- Abstract factory pattern The abstract factory pattern in software engineering is a design pattern that provides a way to create families of related objects without imposing their…
- Chain-of-responsibility pattern In object-oriented design, the chain-of-responsibility pattern is a behavioral design pattern consisting of a source of command objects and a series of…
- Bridge pattern The bridge pattern is a design pattern used in software engineering that is meant to "decouple an abstraction from its implementation so that the two can…
- State pattern The state pattern is a behavioral software design pattern that allows an object to alter its behavior when its internal state changes. This pattern is…
- Iterator In computer programming, an iterator is an object that progressively provides access to each item of a collection, in order. A collection may provide multiple…
- Interpreter pattern In computer programming, the interpreter pattern is a design pattern that specifies how to evaluate sentences in a language. The basic idea is to have…
- Expression templates Expression templates are a C++ template metaprogramming technique that builds structures representing a computation at compile time, where expressions…