~/talk

Design Patterns in Modern C++

Talkat ACCU 2016 · on Wednesday, 2016-04-20· [software-architecture, c-and-cpp]
links:none on file
slides:none on file

Shows concrete rewrites: an adapter wrapping std::string adds a discoverable split and hides confusing members, working but costing duplication and discoverability; a range-based connect trick treats scalars as iterable to wire neurons, which compiles with MSVC quirks and pays a runtime cost; the specification objects replace combinatorial filter functions and scales without touching existing code; fluent and multi‑facet builders produce near‑HTML and Person APIs; a maybe<T> monad using pointers implements null‑safe chaining via lambdas, usable but verbose and type‑tricky.

AI-written summary · about

  1. 0:00Introduction
  2. 2:48SteelString
  3. 6:30Open Closed Principle
  4. 8:27Evil
  5. 10:14Extension Functions
  6. 16:15Scalars
  7. 17:51Unimplemented
  8. 19:59API Usage
  9. 20:19OpenClosed Principle
  10. 21:19Example
  11. 23:51Breaking OCP
  12. 24:44Specification Pattern
  13. 26:12Product Filter
  14. 26:45Making Specification
  15. 28:29Combining Specification
  16. 30:58Simple Filtering
  17. 31:59Groovy Style Builders
  18. 32:37Structured Data
  19. 33:08List Items
  20. 35:38Improved model
  21. 37:04Groovy style
  22. 37:19HTML structure
  23. 37:34Generalization
  24. 39:11Limitations
  25. 40:33fluent calls
  26. 40:59builder patterns
  27. 42:50several builders
  28. 43:18multiple builders
  29. 49:23presence
  30. 52:30implicit
  31. 53:18MaybeT
  32. 54:54MaybeT Construction
  33. 55:31MaybeP Construction
~/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.