~/talk

Communicating via Diagnostics: Observations and Tips for Authors

Talkat CppCon 2018 · 2018-09-23..09-28· [developer-experience]
links:none on file
slides:none on file

Diagnostics matter: state the violated contract, the actual value and the valid range, and give a clear corrective step; call out precondition failures and postcondition failures when they occur and note invariant breaches; prefer assertions for impossible runtime assumptions but keep asserts pure so checks have no side effects; use plain language, avoid blaming users, and always be helpful with explicit, actionable instructions rather than cryptic codes.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Things go wrong
  3. 2:22Using asserts
  4. 3:30Reporting errors
  5. 4:15A terse baffling remark
  6. 4:53Guidelines
  7. 6:05Summary
~/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.