fredag 1. juli 2011

Design Patterns


A quick note about design patterns, which I picked up from a Google talk. There are originally 3 different styles of patterns:
  1. Creational patterns, e.g. factory method.
  2. Structural patterns, e.g. bridge or facade.
  3. Behavioral patterns, e.g. strategy or observer.
Design patterns are different from data structures and algorithms. Design patterns are "descriptions of communicating objects and classes that are customized to solve a general design problem i particular context" [Gof4].

In addition there has been established another pattern group: Concurrency patterns, e.g. Active object. This group is mentioned at the wiki site.

So the next thing will be to follow up and buy the Gof4 book.