| Design patterns for lazy evaluation |
| Full text |
Pdf
(429 KB)
|
| Source
|
Technical Symposium on Computer Science Education
archive
Proceedings of the thirty-first SIGCSE technical symposium on Computer science education
table of contents
Austin, Texas, United States
Pages: 21 - 25
Year of Publication: 2000
ISBN:1-58113-213-1
Also published in ...
|
|
Authors
|
|
Dung Nguyen
|
Dept. of Computer Science, Rice University, Houston, TX
|
|
Stephen B. Wong
|
Computer Science Program, Oberlin College, Oberlin, OH
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 0, Downloads (12 Months): 21, Citation Count: 6
|
|
|
ABSTRACT
We propose an object-oriented (OO) formulation and implementation of lazy/delayed evaluation by reusing and extending an existing linear recursive structure (LRS) framework with the help of the strategy, decorator and factory design patters. The result is a robust, flexible framework that can handle both infinite and finite lists and to which existing algorithms for finite lists can be applied without modification. The OO techniques used to develop this model are effective tools for teaching abstraction and design of data structures.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
 |
3
|
|
CITED BY 6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stoney Jackson , Premkumar Devanbu , Kwan-Liu Ma, Stable, flexible, peephole pretty-printing, Science of Computer Programming, v.72 n.1-2, p.40-51, June, 2008
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE Design Automation Conference on
Gwo-Dong Chen
, Daniel D. Gajski
|