Journal article
Generic programming in 3D
- Abstract:
- Support for generic programming consists of three essential ingredients: support for overloaded functions, a run-time type representation, and a generic view on data. Different approaches to datatype-generic programming occupy different points in this design space. In this article, we revisit the "Scrap your boilerplate" approach and identify its location within the three-dimensional design space. The characteristic features of "Scrap your boilerplate" are its two generic views, the 'spine' view for consuming and transforming data, and the ‘type-spine’ view for producing data. We show how to combine these views with different overloading mechanisms and type representations.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Accepted manuscript, pdf, 448.1KB, Terms of use)
-
- Publisher copy:
- 10.1016/j.scico.2007.10.006
Authors
- Publisher:
- Elsevier
- Journal:
- Science of Computer Programming More from this journal
- Volume:
- 74
- Issue:
- 8
- Pages:
- 590-628
- Publication date:
- 2009-06-01
- DOI:
- ISSN:
-
0167-6423
- Keywords:
- Pubs id:
-
328820
- UUID:
-
uuid:3b18813b-087c-47d9-9e2d-f57b437bd6c6
- Local pid:
-
pubs:328820
- Source identifiers:
-
328820
- Deposit date:
-
2012-12-19
- ARK identifier:
Terms of use
- Copyright holder:
- Elsevier BV
- Copyright date:
- 2009
- Notes:
- Copyright © 2009 Elsevier B.V. All rights reserved. NOTICE: this is the author’s version of a work that was accepted for publication in Science of Computer Programming. Changes resulting from the publishing process, such as peer review, editing, corrections, structural formatting, and other quality control mechanisms may not be reflected in this document. Changes may have been made to this work since it was submitted for publication. A definitive version was subsequently published in Science of Computer Programming, 74, 5, 1 June 2009 http://dx.doi.org/10.1016/j.scico.2007.10.006
If you are the owner of this record, you can report an update to it here: Report update to this record