What is an Iterator?
Going to get the audience participation going early today. There are prizes.
What is an iterator?
What does one do? Or what do you do with it?
If anybody comes up with anything really good now, we might be able to knock off now and all go for a drink.
[kick it around a bit hoping it leads us to]
An iterator means slightly different things in different circumstances/languages. We can all agree, I hope, that it traverses some kind of range/sequence/collection.
Let's have a look at a few specific language examples. I'm going to look at standard language and library features and compare how different languages do iteration.