~/talk

The Philosophy of Google's C++ Code

Talkat CppCon 2014 · on Wednesday, 2014-09-10· at 09:00· Pascal· [rust]
slides:none on file

Google documents why specific rules exist and what actually changed: the codebase spans 100 million lines of code, an indexer called kaith lets maintainers find uses across it, and formatting is automated so teams should use clang format. Rules that matter are concrete like no exceptions and no non-const references and using unique_ptr to show ownership transfer. Some old rules get dropped when they cost more than they buy as in removing the streams ban, and the practices demonstrably reduce surprises and maintenance load.

AI-written summary · about

  1. 0:00Start
  2. 1:50BORING QUESTION!
  3. 3:05WRONG QUESTION!
  4. 10:56Philosophies of the Style Guide
  5. 32:42Have a style guide. Tailor it to your situation.
  6. 33:33Use your guide to encourage "good" and discourage "bad."
  7. 34:53Questions?
~/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.