~/talk

Keynote: Abstraction Patterns

slides:none on file

Argument: working code screams where abstractions are missing, so identify concrete signals (repeated magic formulas, long parameter lists, clustered variable name prefixes, load‑bearing blank lines, huge switches) and replace them: name constants, group fields into structs, replace seven booleans with an options struct, use std::optional/std::expected for multi-value returns, factor with extract function, isolate platform bits into per‑platform headers, or convert big switches into subclasses — result: far fewer bugs, much faster maintenance (adding reports drops from hours to minutes).

AI-written summary · about

  1. 0:00Importance of abstraction
  2. 5:25Missing abstractions in code
  3. 8:55Abstraction patterns for design
  4. 13:14Minimizing complexity with abstractions
  5. 21:45Structs and classes for parameters
  6. 27:46Grouping variables into structures
  7. 30:54Refactoring with whitespace
  8. 36:53Encapsulating logic in classes
  9. 41:50Inheritance to reduce duplication
  10. 47:11Platform-specific abstractions
  11. 50:43Switch statements to inheritance
  12. 54:13Splitting classes into components
  13. 1:00:48Listen for missing abstractions
~/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.