Abstract
Mapping and visiting represent different programming styles for traversals of collections of data. Mapping is rooted in the functional programming paradigm, and visiting is rooted in the object-oriented programming paradigm. This paper explores the similarities and differences between mapping and visiting, seen across the traditions in the two different programming paradigms. The paper is concluded with recommendations for mapping and visiting in programming languages that support both the functional and the object-oriented paradigms.
Original language | English |
---|---|
Journal | Journal of Object Technology |
Volume | 7 |
Issue number | 7 |
Pages (from-to) | 75-105 |
Number of pages | 31 |
ISSN | 1660-1769 |
Publication status | Published - 2008 |