~/talk

Abstraction: The True Superpower of C++

Talkat C++ on Sea 2022 · 2022-07-05..07-07· [c-and-cpp, software-architecture]
slides:none on file

Argues that C++’s real power is disciplined abstraction, not syntactic sugar, and demonstrates concrete techniques: use classes with meaningful verb/noun APIs and invariants instead of trivial getters/setters; prefer modules over headers to reduce parsing/linker pain and speed builds; favor command objects and parsing from std::istream to transform a brittle 115-option if/else function into a validated commit-pass scripting facility that works and adds batch-file support. Explains virtual vs static polymorphism, ref‑qualified and mutable members, templates and requires for precise, zero-cost abstractions.

AI-written summary · about

  1. 0:00Introduction
  2. 3:41Defining abstraction
  3. 6:47Encapsulation vs information hiding
  4. 9:58Problem vs solution domain
  5. 12:27CPU and built-in types
  6. 15:33Functions and polymorphism
  7. 23:59Higher-level abstractions
  8. 27:49Static vs dynamic polymorphism
  9. 31:46Libraries and reuse
  10. 32:48Modules as abstractions
  11. 37:46OSI model layers
  12. 42:36Refactoring options parser
  13. 52:28Problem with getters/setters
  14. 57:22Encapsulation and invariants
  15. 1:03:20Ref-qualifiers and const-correctness
  16. 1:07:26Modeling and MVC
  17. 1:09:52Summary
  18. 1:12:19Avoiding singletons
~/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.