~/talk

10 Core Guidelines You Need to Start Using Now

Talkat CppCon 2017 · 2017-09-24..09-29
slides:none on file

Picks ten actionable C++ Core Guidelines and shows concrete fixes: use in-class member initializers to avoid inconsistent defaults, prefer a default argument over duplicate overload bodies, keep constructor initializer order matching declaration, replace many primitive parameters with a small struct or Point type, never cast away const — use mutable for caching, avoid returning raw owning pointers (use smart pointers or gsl::not_null), use gsl::narrow to detect dangerous conversions, and prefer returning a struct (or tuple/optional) so callers get clear, checked semantics.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 8:09Avoiding the bike shed problem
  3. 14:18Dangerous corners of C++
  4. 28:28Modern C++ features and GSL
  5. 50:58Summary and call to action
  6. 53:55Q&A session
~/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.