This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Lazy Types: Automating Dynamic Strategy Selection
September/October 2005 (vol. 22 no. 5)
pp. 98-106
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 lazy typing--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.
Index Terms:
lazy types, polymorphism, strategies, adaptable code, reflection, metadata
Citation:
Fernando Berzal, Juan-Carlos Cubero, Nicol? Mar?, Mar?a-Amparo Vila, "Lazy Types: Automating Dynamic Strategy Selection," IEEE Software, vol. 22, no. 5, pp. 98-106, Sept.-Oct. 2005, doi:10.1109/MS.2005.127
Usage of this product signifies your acceptance of the Terms of Use.