Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
GENERIC FEATURE MODULES: TWO-STAGED PROGRAM CUSTOMIZATION
 

Summary: GENERIC FEATURE MODULES:
TWO-STAGED PROGRAM CUSTOMIZATION
Sven Apel, Martin Kuhlemann, and Thomas Leich
Otto-von-Guericke-Universit¨at Magdeburg
P.O. Box 4120, Magdeburg, Germany
Email: {apel,mkuhlema,leich}@iti.cs.uni-magdeburg.de
Keywords: Feature-oriented programming, generics, program customization, software reuse, software product lines
Abstract: With feature-oriented programming (FOP) and generics programmers have proper means for structuring soft-
ware 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 ca-
pabilities 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 lan-
guage 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.
1 INTRODUCTION
Feature-oriented programming (FOP) aims at feature
modularity in software product lines (Batory et al.,

  

Source: Apel, Sven - Fakultät für Informatik und Mathematik, Universität Passau

 

Collections: Computer Technologies and Information Sciences