Skip to content

Programming patterns

Description

Notes of the book 'Design Patterns: Elements of Reusable Object-Oriented Software' You can build and run the examples here: https://github.com/protoni/programming-patterns/tree/main

Creational Patterns

These patterns deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. The patterns under this category include:

Abstract Factory
Builder
Factory Method
Prototype
Singleton

Structural Patterns

These patterns deal with object composition or the way objects are put together to form larger structures. The patterns include:

Adapter
Bridge
Composite
Decorator
Facade
Flyweight
Proxy

Behavioral Patterns

These patterns focus on communication between objects, how objects interact and fulfill their responsibilities. The patterns include:

Chain of Responsibility
Command
Interpreter
Iterator
Mediator
Memento
Observer
State
Strategy
Template Method
Visitor