Posts

DealingWithMutation

Dealing with Mutation: Locking

/
Locking is a classical way to protect a shared, mutable state. Today, I will present the two variants,…
ClassIdioms

The Null Object Pattern

/
A Null Object encapsulates a do nothing behavior inside an object. It is often pretty comfortable to…
patterns

The Proxy Pattern

/
The Proxy Pattern is probably the most influential design pattern for C++. The Proxy provides a placeholder…
BehavioralPattern

The Strategy Pattern

/
The Strategy Pattern is a behavioral design pattern from the book Design Patterns: Elements of Reusable…
PolicyAndTraits

Policy

/
Thanks to templates, there are new ways of software design. Policies and traits are two commonly used…