GENERIC FEATURE MODULES: TWO-STAGED PROGRAM CUSTOMIZATION

Sven Apel, Martin Kuhlemann, Thomas Leich

2006

Abstract

With feature-oriented programming (FOP) and generics programmers have proper means for structuring software so that its elements can be reused and extended. This paper addresses the issue whether both approaches are equivalent. While FOP targets at large-scale building blocks and compositional programming, generics provide fine-grained customization at type-level. We contribute an analysis that reveals the individual capabilities of both approaches with respect to program customization. Therefrom, we extract guidelines for programmers in what situations which approach suffices. Furthermore, we present a fully implemented language proposal that integrates FOP and generics in order to combine their strengths. Our approach facilitates two-staged program customization: (1) selecting sets of features; (2) parameterizing features subsequently. This allows a broader spectrum of code reuse to be covered – reflected by proper language level mechanisms. We underpin our proposal by means of a case study.

Download


Paper Citation


in Harvard Style

Apel S., Kuhlemann M. and Leich T. (2006). GENERIC FEATURE MODULES: TWO-STAGED PROGRAM CUSTOMIZATION . In Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT, ISBN 978-972-8865-69-6, pages 127-132. DOI: 10.5220/0001311301270132

in Bibtex Style

@conference{icsoft06,
author={Sven Apel and Martin Kuhlemann and Thomas Leich},
title={GENERIC FEATURE MODULES: TWO-STAGED PROGRAM CUSTOMIZATION},
booktitle={Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT,},
year={2006},
pages={127-132},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001311301270132},
isbn={978-972-8865-69-6},
}


in EndNote Style

TY - CONF
JO - Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT,
TI - GENERIC FEATURE MODULES: TWO-STAGED PROGRAM CUSTOMIZATION
SN - 978-972-8865-69-6
AU - Apel S.
AU - Kuhlemann M.
AU - Leich T.
PY - 2006
SP - 127
EP - 132
DO - 10.5220/0001311301270132