September 2020
Intermediate to advanced
750 pages
16h 14m
English
Design patterns are general reusable solutions that can be applied to common problems that appear in software development. Idioms are patterns, algorithms, or ways to structure the code in one or more programming languages. A great number of books have been written on design patterns. This chapter is not intended to reiterate them, but rather to show how to implement several useful patterns and idioms, with a focus on readability, performance, and robustness, in terms of modern C++.
The recipes included in this chapter are as follows:
if...else statements in factory patternsRead now
Unlock full access