Book section
Datatype-generic programming
- Abstract:
- Generic programming aims to increase the flexibility of programming languages, by expanding the possibilities for parametrization - ideally, without also expanding the possibilities for uncaught errors. The term means different things to different people: parametric polymorphism, data abstraction, meta-programming, and so on. We use it to mean polytypism, that is, parametrization by the shape of data structures rather than their contents. To avoid confusion with other uses, we have coined the qualified term datatype-generic programming for this purpose. In these lecture notes, we expand on the definition of datatype-generic programming, and present some examples of datatypegeneric programs. We also explore the connection with design patterns in object-oriented programming; in particular, we argue that certain design patterns are just higher-order datatype-generic programs. © Springer-Verlag Berlin Heidelberg 2007.
- Publication status:
- Published
Actions
Authors
- Volume:
- 4719
- Pages:
- 1-71
- Publication date:
- 2007-01-01
- ISBN:
- 9783540767855
- Pubs id:
-
pubs:163473
- UUID:
-
uuid:a20f9f6b-3621-4d26-8de4-a61e626e402e
- Local pid:
-
pubs:163473
- Source identifiers:
-
163473
- Deposit date:
-
2012-12-19
Terms of use
- Copyright date:
- 2007
If you are the owner of this record, you can report an update to it here: Report update to this record