Dynamically scoped functions as the essence of AOP

  • Authors:
  • Pascal Costanza

  • Affiliations:
  • University of Bonn, Bonn, Germany

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

The aspect-oriented programming community devotes lots of energy into the provision of complex static language constructs to reason about eventual dynamic properties of a program. Only the focus on a strongly dynamically-natured language construct reveals a very simple mechanism behind the notions of AOP. This paper shows that dynamically scoped functions, together with a simple additive to access previous function definitions, form the essence of aspect-oriented programming. We present a complete executable one page implementation of this idea.