Programming with Patterns

  • Authors:
  • Peter Forbrig;Ralf Lämmel

  • Affiliations:
  • -;-

  • Venue:
  • TOOLS '00 Proceedings of the Technology of Object-Oriented Languages and Systems (TOOLS 34'00)
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Language support for object-oriented programming with patterns is provided. Thereby, designs making use of design patterns can be implemented in a more direct and traceable way. The essential language constructs are nested classes and a kind of superposition for class structures. A corresponding experimental programming language PaL is discussed. The current implementation is based on a compilation to Eiffel. A library covering the 23 GoF patterns has been developed in PaL. To be able to capture reuse schemes for patterns, a new form of abstraction is introduced. A non-trivial drawing application has been developed as a case study for programming with patterns.