~/talk

Defensive Programming Done Right, Part I

Talkat CppCon 2014 · on Monday, 2014-09-08· at 14:00· Descartes· [engineering-leadership]
slides:none on file

Argues that libraries should let the owner of main choose a runtime budget for precondition checks and the policy (for example abort throw spin) for violations, and shows concrete C++ infrastructure to do it: compile-time modes, debug asserts, linker-aware builds to preserve binary compatibility, and a negative testing apparatus plus component-level test drivers. Presents open-source supporting utilities on GitHub, explains tradeoffs (performance vs defect masking), and demonstrates the approach working end-to-end.

AI-written summary · about

  1. 0:00Start
  2. 0:55Abstract
  3. 1:22What's The Problem?
  4. 2:54Brief Review of Physical Design Logical versus Physical Design
  5. 3:27Brief Review of Physical Desien Component: Uniform Physical Structure
  6. 5:131. Brief Review of Physical Design Logical Relationships
  7. 6:50Level Numbers
  8. 14:03Interfaces and Conty Preconditions and Pr Non-Essential
  9. 27:40Outline
~/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.