~/talk

Abstraction Patterns: Making Code Reliably Better Without Deep Understanding

Talkat ACCU 2022 · 2022-04-06..04-09· [software-architecture]
slides:none on file

Codebases reveal missing structure: spotting literal magic numbers and converting them to named constants, grouping seven boolean flags into a single options struct, replacing long switch-on-type blocks with small derived classes, and extracting 50–100‑member monster classes into focused subobjects all reduce bugs and cognitive load. Uses concrete tools and APIs: chrono and <numbers> for constants, std::any_of/std::find rather than raw loops, build‑system header selection for platform calls. Claims: these missing abstraction cues — including load-bearing blank lines and using any_of/find/rotate — measurably shrink complexity.

AI-written summary · about

  1. 0:00Start
  2. 11:28Abstraction Localizes Complexity
  3. 28:52Breaking Up Huge Functions
  4. 52:13Getkeystate
  5. 56:46Update Cached Values
~/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.