~/talk

Design Patterns - The Most Common Misconceptions (1 of N)

Talkat NDC TechTown 2023 · 2023-09-18..09-21· [software-architecture]
slides:none on file

Argues that common confusions are practical not theoretical and demonstrates C++ fixes: a Bloch style fluent constructor uses strong types plus variadic templates and fold expressions to emulate a Builder but is not the GoF Builder, JSON shape loaders are factory function vs Factory Method depending on whether a function pointer or inversion boundary is present, and hiding implementation with pimpl is different from DI so bridge vs strategy differ by which side chooses implementations; shows std::variant and templates as alternatives to classic virtual based patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Terminology in design patterns
  3. 3:42Pattern names and intentions
  4. 4:02Builder pattern misconceptions
  5. 8:59Builder: Gang of Four vs Bloch
  6. 12:06Factory method misconceptions
  7. 14:58Factory method explained
  8. 21:49Factory functions vs methods
  9. 22:10Bridge vs dependency injection
  10. 25:19Bridge pattern example
  11. 28:31Bridge vs Strategy
  12. 32:02Patterns beyond OOP
  13. 33:49Templates in modern C++
  14. 38:10Patterns as dependency tools
  15. 39:33Consistent terminology
  16. 39:55Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.