~/talk

All the Default's Are Backwards

Talkat C++ on Sea 2021 · 2021-06-30..07-02· [c-and-cpp]
slides:none on file

Argues C++ should flip common defaults so reading accessors are const by default, functions are noexcept by default and constexpr by default, with terse trailing-return-style introducers and optional trailing return types. Proposes extending lambda syntax into a named, namespace- and class-scope function form that matches Rust/Swift brevity and lets an empty capture mean purity, demonstrates how that reduces keyword noise, sketches a small prototype-language change and notes several unresolved implementation and ABI problems that remain to be solved.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Defaults are backwards
  3. 2:55Other Languages
  4. 3:47Wish List
  5. 4:20Lander Syntax
  6. 5:47Global Syntax
~/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.