~/talk

Design Patterns: The most common misconceptions

Talkat Meeting C++ 2023 · 2023-11-12..11-14· [frontend-architecture]
slides:none on file

Claims a set of precise corrections: many people label any creator a pattern but Factory function ≠ Factory Method (showing JSON reader vs injected creator), the common constructor-helper is Bloch’s API-style Builder not the GoF architectural Builder so Bloch Builder ≠ GoF Builder, and what gets called Bridge is often a Strategy (internal impl hidden vs external dependency injection) summarized as Bridge = internal impl, Strategy = external DI. Uses C++ examples (function pointers, std::unique_ptr deleter, allocators, std::accumulate, std::generate) to prove the distinctions.

AI-written summary · about

  1. 0:00Design pattern misconceptions
  2. 1:25What a design pattern is
  3. 4:38Builder pattern misconception
  4. 16:18Factory method vs function
  5. 29:30Bridge vs Pimpl
  6. 40:06Design patterns beyond OOP
  7. 49:25Q&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.