Publication Details
Title: Sather Iters: Object-Oriented Iteration Abstraction
Author: S. Murer, S. Omohundro, and C. Szyperski
Group: ICSI Technical Reports
Date: August 1993
PDF: ftp://ftp.icsi.berkeley.edu/pub/techreports/1993/tr-93-045.pdf
Overview:
Sather iters are a powerful new way to encapsulate iteration. We argue that such iteration abstractions belong in a class' interface on an equal footing with its routines. Sather iters were derived from CLU iterators but are much more flexible and better suited for object-oriented programming. We motivate and describe the construct along with several simple examples. We compare it with iteration based on CLU iterators, cursors, riders, streams, series, generators, coroutines, blocks, closures, and lambda expressions. Finally, we describe how to implement them in terms of coroutines and then show how to transform this implementation into efficient code.
Bibliographic Information:
ICSI Technical Report TR-93-045
Bibliographic Reference:
S. Murer, S. Omohundro, and C. Szyperski. Sather Iters: Object-Oriented Iteration Abstraction. ICSI Technical Report TR-93-045, August 1993
Author: S. Murer, S. Omohundro, and C. Szyperski
Group: ICSI Technical Reports
Date: August 1993
PDF: ftp://ftp.icsi.berkeley.edu/pub/techreports/1993/tr-93-045.pdf
Overview:
Sather iters are a powerful new way to encapsulate iteration. We argue that such iteration abstractions belong in a class' interface on an equal footing with its routines. Sather iters were derived from CLU iterators but are much more flexible and better suited for object-oriented programming. We motivate and describe the construct along with several simple examples. We compare it with iteration based on CLU iterators, cursors, riders, streams, series, generators, coroutines, blocks, closures, and lambda expressions. Finally, we describe how to implement them in terms of coroutines and then show how to transform this implementation into efficient code.
Bibliographic Information:
ICSI Technical Report TR-93-045
Bibliographic Reference:
S. Murer, S. Omohundro, and C. Szyperski. Sather Iters: Object-Oriented Iteration Abstraction. ICSI Technical Report TR-93-045, August 1993
