~/talk

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

Talkat NDC TechTown 2024 · 2024-09-09..09-12· [software-architecture]
github:arnemertz
slides:none on file

Compares C++ Core Guidelines to how teams actually apply them, showing concrete harms and fixes: rule of five causes needless boilerplate and copy/move advice misapplied; don't use exceptions is often a large-codebase pragmatic choice (Google) not a universal ban; tooling recommended: clang-tidy, clang-format and static analysis with per-line disables; surprising real-world cost: 900–1,200 Singletons tying ~1.5M LOC into tests; advises short, linked guideline docs, automated checks, and documented exceptions so teams can follow rules sensibly.

AI-written summary · about

  1. 0:00Guidelines introduction
  2. 4:26Rule of five pitfalls
  3. 7:41Rules vs developer responsibility
  4. 9:28Tooling for enforcement
  5. 10:09Google bans exceptions
  6. 14:29Single return statement
  7. 22:48Outdated guidelines in C++
  8. 23:09Const and reference members
  9. 26:42East vs west const
  10. 30:58Singleton misuse
  11. 36:06Project guidelines context
  12. 38:52Automated tooling exceptions
  13. 42:06Guidelines as freedom
  14. 43:37Code reviews discussion
  15. 44:42Short accessible guidelines
  16. 47:33Living guideline documents
  17. 48:34Challenging customer guidelines
~/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.