~/talk

Back to Basics: Design Patterns

Talkat CppCon 2020 · 2020-09-14..09-18· [software-architecture]
slides:none on file

Fixes a screensaver bug by replacing hardcoded spawn bounds (300×300) with a singleton configuration manager implemented via a C++11 static-local instance so one source of window width/height exists; wraps a third‑party Text class with an object adapter that forces uppercase green text without changing the original library; replaces fixed for loops (100 pushes) with STL-style iterators and scales to 1,000 circles rendered with SFML. Notes thread‑safety and copy‑semantics caveats and tradeoffs for each pattern.

AI-written summary · about

  1. 0:00Introduction
  2. 2:22Running Example
  3. 3:16Bug Hunting
  4. 7:26Design Patterns
  5. 12:11Singleton Pattern
  6. 18:50Pros and Cons
  7. 27:34Structural Patterns
  8. 30:33Adapter Patterns
  9. 33:41Pros Cons of Adapter Patterns
  10. 38:02Behavioral Patterns
  11. 38:40Iterator Pattern
  12. 39:59Iterator Pattern Example
  13. 43:37Pros Cons
  14. 45:02Summary
  15. 46:04UML
~/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.