~/talk

Core and other guidelines: the good, the bad, the ...questionable?

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [developer-experience]
github:arnemertz
slides:none on file

Covers concrete claims: guidelines succeed or fail on rationale and context, not topic names. Shows tooling used — clang-tidy checks, clang-format and GSL — and how automation removes churn. Gives surprising numbers: a codebase with ~45 million LOC and hundreds of singletons that inflate test runs and build scope, and a recent clang-format run touching ~20,000 files. Compares specific rules — rule of zero vs rule of five — explains when exceptions or single returns are practical, and recommends living, minimal project guidelines tied to enforceable tools.

AI-written summary · about

  1. 0:00Introduction to guidelines
  2. 5:02The Rule of Five and Zero
  3. 13:47Exception usage guidelines
  4. 18:33Single return statements
  5. 23:55Legacy rules and rationale
  6. 27:55References as members
  7. 29:42Examples of reference usage
  8. 30:56Rationale and dogmatism
  9. 33:26Const notation conventions
  10. 37:22Singleton design patterns
  11. 42:05Guidelines for team management
  12. 54:01Q&A and conclusion
~/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.