Book Image

Behavioral Design Patterns in C++ [Video]

By : Umar Lone
Book Image

Behavioral Design Patterns in C++ [Video]

By: Umar Lone

Overview of this book

The course takes a structured approach to explain each pattern, starting with an introduction and then diving into its intent, structure, participants, and communication with the client. The UML class diagram is provided to illustrate the pattern’s structure and how classes interact with each other. The guide includes a simple example implementation of the pattern, which helps students understand the pattern’s implementation and application in real-life scenarios. However, the course also highlights potential design issues in the example and explains how to refactor and apply the pattern effectively to avoid errors. One of the key strengths of this guide is that it goes beyond a single implementation of each pattern. Then it discusses multiple implementations of the same pattern, helping students expand their knowledge of the pattern and how it can be applied in different scenarios. The pros and cons of each pattern are also discussed, providing students with a well-rounded understanding of each pattern’s strengths and limitations. The different types of design patterns that you will study include Strategy, Template Method, Command, Memento, CoR (Chain of Responsibility), Observer, Mediator, Visitor, Interpreter, State, and Iterator. In addition to this, you will also learn about the pros and cons of each pattern. By the end of this course, you will be well-versed with behavioral design patterns and will have developed the skills to implement them in modern C++. All the resource files are added to the GitHub repository at: https://github.com/PacktPublishing/Behavioral-Design-Patterns-in-C-
Table of Contents (13 chapters)
Free Chapter
1
Introduction to the Course
Chapter 11
Interpreter
Content Locked
Section 1
Introduction
This video provides an introduction to the Interpreter pattern.