do not click

Meeting C++ 2024   |  Online   |  Training   |  Books   |  Survey   |  Job fair   |  Advertising   |  Jobposting   |  Login

Meeting C++ 2024 - Design Patterns - The Most Common Misconceptions (2 of N)

Conference | Live Schedule | Talks | Get your ticket | Set your timezone

Design Patterns - The Most Common Misconceptions (2 of N)

Join session

Books by Klaus Iglberger

C++ Software Design: Design Principles and Patterns for High-Quality Software

Watch the interview

Klaus Iglberger

On Day 1 at 13:15 (CET/Berlin) in Track B [Opal Room and online]

Slides: Design Patterns - The Most Common Misconceptions (2 of N)

Design patterns are everywhere, as they are the key to managing dependencies between software entities.

But despite their fundamental importance, there are some common misconceptions about them, in particular

about several of the most often used design patterns:

  • The modern form of the Visitor design pattern, std::variant, is often considered a replacement of virtual functions
  • The Decorator design pattern is sometimes mistaken as the Adapter design pattern
  • The Chain of Responsibility design pattern is often confused with Decorators
  • Explicit object parameters (“deducing this”) is often considered as a modern, better form of CRTP

In this talk I'll shed some light on these misconceptions and explain how to properly distinguish between the different design patterns.

Please login to comment

Copyright Meetingcpp GmbH Imprint Privacy Policy