Entries by Rainer Grimm

The Observer Pattern

The Observer Pattern is a behavioral pattern from the book   “Design Patterns: Elements of Reusable Object-Oriented Software”. It defines 1-to-n dependencies between objects so that changes to one object cause all dependent objects to be notified.

The Strategy Pattern

The Strategy Pattern is a behavioral design pattern from the book Design Patterns: Elements of Reusable Object-Oriented Software”. It defines a family of algorithms and encapsulates them in objects.