Overview
Explore modern implementations of classic Gang of Four design patterns in C++ during this 42-minute CppNow conference talk. Discover how programming paradigms have evolved since the inception of design patterns in Smalltalk and early C++. Learn to improve traditional patterns using Modern C++ techniques, and delve into functional programming patterns. Understand how C++ functional literals and lambda expressions enable the implementation of monads. Examine topics such as string classes, split functions, building adapters, composites, neurons, the open-closed principle, state-space explosion problems, filtering on multiple criteria, Groovy-style builders, and functional patterns. Access accompanying slides for visual reference and deeper understanding of the concepts presented.
Syllabus
Intro
Disclaimer
String classes
Split functions
Building and adapter
Composite
Neuron
The problem
Copout solution
Single neuron
Openclosed principle
Statespace explosion problem
Filtering on multiple criteria
Groovy Style Builders
TopLevel Builders
Functional Patterns
Conclusion
Taught by
CppNow