Iterator in Smalltalk
1) Internal iterator - iterate inside the Iterator
- easy to use, not as powerful as external iterator
- works well because of blocks
employees do: [:each | each name printOn: aStream]
2) Combine Next() and CurrentItem() (Smalltalk Stream)
employeeStream := GeneralMotors employeeStream.
[employeeStream next name printOn: aStream]