Template Method & Strategy

  • Review the Template Method & Strategy Patterns in detail
  • Assess a simple example of these patterns in action
  • Explore the primary features ot the Xtend programming language
  • Reimplement both patterns in Xtend, with a particular emphasis on understanding the use of Lambdas in this context

Objectives

  • Review the Java variants of the template method and strategy patterns
  • Reoode these in Xtend
  • Reimplement Strategy using Lambdas in Xtend