This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
design_patterns:gof [2019/11/09 22:02]
phreazer [Strukturmuster (structural patterns)]
design_patterns:gof [2019/11/09 22:13] (current)
phreazer [Verhaltensmuster (behavioral patterns)]
Line 23: Line 23:
 ===== Verhaltensmuster (behavioral patterns) ===== ===== Verhaltensmuster (behavioral patterns) =====
 +  * Template method: Abstract class which implements invariant code and helper method, while specific implementations are in derived classes
 +  * Strategy: Defines interface for a method and concrete implementations. Strategies could be choosen on runtime.
 +  * Iterator: Access of elements in container without exposing underlying representation
 +  * Interpreter:​ Using Composite e.g. with Terminal/​NonTerminal class representations e.g. to implement an abstract syntax tree
  • design_patterns/gof.txt
  • Last modified: 2019/11/09 22:13
  • by phreazer