The Black Magic of the Visitor Pattern
summary
Explores the Visitor design pattern in C#, showing multiple implementations and variations enabled by C# language features. Focuses on practical techniques and different ways to realize the Visitor pattern rather than a single canonical implementation.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 4:02Why Visitor pattern
- 8:35Intrusive approach problems
- 17:45Reflective implementation
- 25:18Functional variation
- 30:32Dynamic visitor with DLR
- 35:27What is dispatch
- 37:31Double Dispatch
- 44:54Expression tree transformation
- 51:20Visitor for weakly typed data
- 58:25Acyclic visitor
- 1:03:21Null Object in Visitor
- 1:04:48Choosing the approach
related talks
52mDesigning functional and fluent API: example of the Visitor Pattern
01h 01mLet’s talk patterns
01h 00mC++ Design Patterns: From C++03 to C++17
01h 40mDesign Patterns: Examples in C++
01h 02mAdvanced Pattern Matching in C#
55mHow to "OO" in C++
01h 07mDesign Patterns in Modern C++
45mRevisiting Design Patterns after 20
