kirancodes.me
To Proof Maintenance & Beyond!

Groovy package templates: supporting reuse and runtime adaption of class hierarchies

Eyvind W. Axelsen, Stein Krogdahl

Abstract

We show how package templates, a modularization mechanism originally developed for statically typed languages like Java and C#, can be applied to and implemented in a dynamic language like Groovy, by using the language's capabilities for meta-programming. We then consider a set of examples and discuss dynamic PT from the viewpoints of code modularization and reuse, and dynamic adaption of classes at runtime.

Related papers