Classic, Language-Based Variability Mechanisms

  • Sven Apel
  • Don Batory
  • Christian Kästner
  • Gunter Saake
Chapter

Abstract

There are many ways to implement variable code; some have been used long before the advent of software product lines. Even a simple if statement offers a choice between different execution paths. To prevent cluttering of code with if statements, to enhance feature traceability, to provide extensibility without the need to change the original source code, and to provide compile-time (or load-time) variability, developers have identified many common programming patterns to support variability.

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Sven Apel
    • 1
  • Don Batory
    • 2
  • Christian Kästner
    • 3
  • Gunter Saake
    • 4
  1. 1.University of PassauPassauGermany
  2. 2.The University of Texas at AustinAustinUSA
  3. 3.Carnegie Mellon UniversityPittsburghUSA
  4. 4.Fak. Informatik, Inst. Technische/BetrieblicheOtto-von-Guericke-UniversitätMagdeburgGermany

Personalised recommendations