~/talk

Screaming Interfaces

Talkat 4Developers Gdańsk 2017 · on Monday, 2017-09-18· [c-and-cpp]
links:none on file
slides:none on file

Shows concrete C++ patterns that make common interface mistakes compile-time errors: a named-type booleans wrapper that prevents swapping two bool params and stops the override bug, a validated<T,Validator> wrapper that removes repeated null or SQL-sanitization checks (author cites eliminating ~15,000 if ptr==null checks), a produced_type via Boost.Preprocessor helper (~100 lines) that enforces gather→filter→final data flow using std::tuple_element, and tagged constructors (reserve vs fill) for clearer container construction; all examples are fully implemented and compile.

AI-written summary · about

  1. 0:00Start
  2. 7:49Explicit Constructor
  3. 10:41Sql Injection
  4. 13:09Validated Type
  5. 25:06Boost Preprocessor
  6. 31:26Factory Functions for Standard Types
  7. 36:04Named Types
  8. 36:17Validated Types
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.