Iterators

Where to begin?

Iterators can be a daunting topic as it can get complex relatively quickly. Most explanations of iterators start with the very basics which all make perfect sense, but then in the very next section - nothing makes sense!

This guide aims to slowly explain the concept with as many examples as possible.

To start with, you should know the basic terminology that is used when discussing iterators:

Terminology, Syntax and Notation 

Types of Iterators

There are two main categories of iterator: map and accumulator.