~/talk

Typical C++, But Why?

Talkat Meeting C++ 2023 · 2023-11-12..11-14· [typescript]
slides:none on file

Shows concrete patterns and code: a SanitizedString type that forces explicit construction so queries fail to compile instead of leaking unsanitized input; replaces boolean flag lists with enum class types for named options and to catch reordered or defaulted arguments; models start+length as a buffer_view (not raw pointer+len) to avoid overruns; uses a small must_init wrapper and config struct with member defaults/designated initializers so missing values become compile errors rather than subtle runtime bugs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46C++ type system metaphor
  3. 3:35Fixing argument bugs with strong types
  4. 11:59Eliminating boolean parameters
  5. 15:35Dangers of default parameters
  6. 20:16Buffer overflow and BufferView
  7. 28:59Config structs in C++20
  8. 35:00Strongly typed IDs
  9. 39:37Strong types beyond integers
  10. 42:27Evolving code with types
  11. 46:13Q&A
~/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.