|
| | | |
Metaphor and Metonymy in Object-Oriented Design Patterns
Noble, J., Biddle, R. and Tempero, E.
The key principle of object-oriented design is that each program object should correspond to an object in the real world that is to say, a program is a metaphor for the world. More advanced object-oriented designs, such as many of Gamma et. Al.'s Design Patterns, are not directly metaphorical: State objects, Strategy objects and Visitor objects, for example, do not correspond to objects in the real world. We show how these patterns, and other similar designs, can be understood as metonymy, rather than metaphore, that is, they are based on an attribute, cause, or effect, rather than being based on something in the world, in terms of Jakobson and Lodge's typology. Understanding how both metaphor and metonymy can be used in design can illustrate how design patterns work alongside more traditional object-oriented modelling to produce designs that are accurate, flexible, and better understood. |
Cite as: Noble, J., Biddle, R. and Tempero, E. (2002). Metaphor and Metonymy in Object-Oriented Design Patterns. In Proc. Twenty-Fifth Australasian Computer Science Conference (ACSC2002), Melbourne, Australia. CRPIT, 4. Oudshoorn, M. J., Ed. ACS. 187-195. |
(from crpit.com)
(local if available)
|
|