Design Patterns - The Most Common Misconceptions (3 of N)
Klaus Iglberger
Design patterns are everywhere, as they are the key to managing dependencies between software entities. Thus knowledge about these is an essential part of every programmers toolbox. But despite their fundamental importance, there are some common misconceptions about them, in particular about several of the most often used design patterns.
In this talk, we’ll take a close look at the Decorator and Adapter design patterns. Both are very commonly used — there are for instance various applications within the C++ standard library — and both have clearly defined applications and responsibilities. However, since they are structurally similar, they are often confused — even in the standard library.
In this talk we’ll shed some light on these two design patterns and their misconceptions. We’ll see several examples of them, also within the C++ standard library, and learn how to properly distinguish between them.
Klaus Iglberger
Klaus Iglberger is a freelance C++ trainer and consultant. He shares his expertise in popular C++ courses — from beginner to advanced — all around the world. He is the author of “C++ Software Design” [1], one of the organizers of the Munich C++ user group [2], and the (co-)organizer of the Back-to-Basics [3] and Software Design [4] tracks at CppCon [5].
[1] https://learning.oreilly.com/library/view/c-software-design/9781098113155/ [2] https://www.meetup.com/MUCplusplus/ [3] https://cppcon.org/b2b/ [4] https://cppcon.org/softwaredesign/ [5] https://cppcon.org