Iterator Pattern

GAMMA, E., HELM, R., JOHNSON, R., AND VLISSIDES, J. Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, Reading, Mass., 1995.

WEIHER, Marcel and DUCASSE, Stéphane, 2005. Higher order messaging. In: Proceedings of the 2005 conference on Dynamic languages symposium - DLS ’05. Online. San Diego, California: ACM Press. 2005. p. 23–34. [Accessed 2 June 2022]. DOI 10.1145/1146841.1146844.

> We introduce Higher Order Messaging, a higher order programming mechanism for dynamic object-oriented languages. Higher Order Messages allow user-defined message dispatch mechanism to be expressed using an optimally compact syntax that is a natural extension of plain messaging and also have a simple conceptual model. They can be implemented without extending the base language and operate through language bridges.

**Context:** Marcel Weiher 🇪🇺 @mpweiher Antwort an @SeanDenigris I nowadays consider Blocks a code smell in most cases. Vastly prefer higher order messages. tweet