~/talk

C++ Core and Other C++ Guidelines - The Good, the Bad, the… Questionable?

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

Compares C++ Core Guidelines to how teams actually apply them, showing concrete mismatches: boilerplate from blindly applying the rule of five, projects banning exceptions for legacy constraints where exceptions add 20–30 KB on tiny targets, and a codebase crippled by 1,200 Singletons across 3.5–4M lines causing tangled tests and 25‑minute test runs. Recommends automating checks with clang-tidy and clang-format, recording rationale when a rule is intentionally broken, and choosing guidelines that match team context rather than copy-pasting rules.

AI-written summary · about

  1. 0:00C++ guidelines overview
  2. 4:46Rule of five impact
  3. 13:46Why Google bans exceptions in C++
  4. 19:46Single return readability
  5. 25:56Reference members and copyable types
  6. 35:32Conventional const placement
  7. 38:23Singleton misuse dangers
  8. 44:06Effective guidelines
  9. 54:27Q&A
~/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.