February 2024
Intermediate to advanced
816 pages
20h 7m
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 has 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