Examples from a training course on the Gang of Four Design Patterns.