About This Course
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.
Recognize and apply design patterns
Refactor existing designs to use design patterns
Reason about applicability and usability of design patterns
Vidya P. R.
Explains the concept very well with code. Excellent course .