Course Information
Course Overview
Discover the modern implementation of design patterns with С++
Course Overview
This course provides a comprehensive overview of Design Patterns in Modern C++ from a practical perspective. This course in particular covers patterns with the use of:
- The latest versions of the C++ programming language
- Use of modern programming approaches: dependency injection, use of coroutines, and more!
- Use of modern developer tools such as CLion and ReSharper C++
- Discussions of pattern variations and alternative approaches
This course provides an overview of all the Gang of Four (GoF) design patterns as outlined in their seminal book, together with modern-day variations, adjustments, discussions of intrinsic use of patterns in the language.
What are Design Patterns?
Design Patterns are reusable solutions to common programming problems. They were popularized with the 1994 book Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm (who are commonly known as a Gang of Four, hence the GoF acronym).
The original book was written using C++ and Smalltalk as examples, but since then, design patterns have been adapted to every programming language imaginable: Swift, C#, Java, PHP and even programming languages that aren't strictly object-oriented, such as JavaScript.
The appeal of design patterns is immortal: we see them in libraries, some of them are intrinsic in programming languages, and you probably use them on a daily basis even if you don't realize they are there.
What Patterns Does This Course Cover?
This course covers all the GoF design patterns. In fact, here's the full list of what is covered:
- SOLID Design Principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion Principle
- Creational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and Singleton
- Structrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and Proxy
- Behavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Null Object, Observer, State, Strategy, Template Method and Visitor
Who Is the Course For?
This course is for C++ developers who want to see not just textbook examples of design patterns, but also the different variations and tricks that can be applied to implement design patterns in a modern way.
Presentation Style
This course is presented as a (very large) series of live demonstrations being done in JetBrains CLion. Most demos are single-file, so you can download the file attached to the lesson and run it in CLion, XCode or another IDE of your choice (or just on the command line).
This course does not use UML class diagrams; all of demos are live coding.
Course Content
- 25 section(s)
- 129 lecture(s)
- Section 1 Introduction
- Section 2 SOLID Design Principles
- Section 3 Builder
- Section 4 Factories
- Section 5 Prototype
- Section 6 Singleton
- Section 7 Adapter
- Section 8 Bridge
- Section 9 Composite
- Section 10 Decorator
- Section 11 Façade
- Section 12 Flyweight
- Section 13 Proxy
- Section 14 Chain of Responsibility
- Section 15 Command
- Section 16 Interpreter
- Section 17 Iterator
- Section 18 Mediator
- Section 19 Memento
- Section 20 Observer
- Section 21 State
- Section 22 Strategy
- Section 23 Template Method
- Section 24 Visitor
- Section 25 Course Summary
What You’ll Learn
- Recognize and apply design patterns, Refactor existing designs to use design patterns, Reason about applicability and usability of design patterns, Learn how to use different aspects of Modern C++
Skills covered in this course
Reviews
-
MMiguel Flores
very well explained and the exercises were simple enough to put in practice the concepts without spending too much time in them.
-
MMariano Caballero
Excellent course. Highly recommended
-
EErnesto Ramos Cacique
Great and concise code examples to follow on each of the patterns. Great content
-
DDavid Kress
Good overview over the design patterns. But the examples are unecessarily complex. E.g. why are iterators explained in a recursive binary tree? This makes it very difficult to understand. After watching the complicated examples it was very difficult for me to pass the very simple chapter tests because I could not see the relations between the examples and the tests.