Issue No. 05 - September/October (2005 vol. 22)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/MS.2005.127
Fernando Berzal , University of Granada
Juan-Carlos Cubero , University of Granada
Nicol? Mar? , University of Granada
Mar?a-Amparo Vila , University of Granada
Programmers increasingly must deal with data that's not easy to represent, complex by nature, and affected by structural irregularities. This article overviews how the reflective technique of <em>lazy typing</em>--deferring the exact definition of object methods until the latest possible moment--can help programmers more easily and consistently deal with partial or incomplete data. From a behavioral point of view, lazy types provide more flexibility than conventional types by dynamically selecting implementation strategies. Practically speaking, lazy types reduce the coding complexity and maintenance effort required in those situations where standard type modeling falls short.
lazy types, polymorphism, strategies, adaptable code, reflection, metadata
F. Berzal, N. Mar?, M. Vila and J. Cubero, "Lazy Types: Automating Dynamic Strategy Selection," in IEEE Software, vol. 22, no. , pp. 98-106, 2005.