OOP Metaprogramming Series: Introduction to Java Aspect-Oriented Programming

Whatever you’re looking at, it probably is bad code. If it’s possible to find the story behind the code, you may be looking at a sacrifice for a domain or two.
  • A component, if it can be cleanly encapsulated in a generalized procedure that is localized, easily accessible and composed, or
  • An aspect, if it cannot be cleanly encapsulated in a generalized procedure
  • a component language that serves the sole role of programming components
  • an aspect weaver with which to program the aspects
  • A component program that implements the aspects using the aspect languages
Springer-Verlag LNCS 1241, Kiczales pg. 5
horizontal-edge! Rewrite: Springer-Verlag LNCS 1241, Kiczales pg. 6
  • the chosen program elements of interest
  • the action associated with these program elements
  • an explicit entity that may link these 2 aspects together
Abstract Filter Rewrite: Springer-Verlag LNCS 1241, Kiczales pg. 1

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
mvndy

mvndy

software engineer and crocheting enthusiast