Strategic programming meets adaptive programming

  • Authors:
  • Ralf Lämmel;Eelco Visser;Joost Visser

  • Affiliations:
  • Free University, Amsterdam, The Netherlands;University Utrecht, The Netherlands;SIG, Amsterdam, The Netherlands

  • Venue:
  • Proceedings of the 2nd international conference on Aspect-oriented software development
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Strategic programming is a generic programming idiom for processing compound data such as terms or object structures. At the heart of the approach is the separation of two concerns: basic dataprocessing computations vs. traversal schemes. Actual traversals are composed by passing the former as arguments to the latter. Traversal schemes can be defined by the strategic programmer using a combinator style that relies on primitives for layered traversal.In this paper, we take a look at strategic programming from an aspect-oriented programming perspective. Throughout the paper, we compare strategic programming with adaptive programming, which is a well-established aspectual approach to the traversal of object structures. We start from the observation that aspect-oriented programming terms, e.g., crosscutting, join point, and advice can be instantiated for aspectual traversal approaches.