~/lightning

Lightning Talk: The Most Important Design Guideline

Lightningat CppCon 2021 · on Sunday, 2021-10-24· [design-collaboration]
links:none on file
slides:none on file

Central claim: make the right thing easy to do and the wrong thing difficult to do. Concrete examples show how that plays out: prefer APIs that return ownership rather than raw pointers, convert a C ANARI set-parameter call that memcpys from void* into a C++ wrapper that uses type traits and static_assert to pick the correct enum and stop misuse at compile time, and treat build and runtime interfaces the same way so common errors become hard and correct usage becomes obvious.

AI-written summary · about

  1. 0:00Start
  2. 0:14The Most Important Design Guideline
  3. 1:05Architecture and Structure of Your Project
  4. 1:38The Best Design Guideline Is To Make the Right Thing Easy To Do and the Wrong Thing Difficult To Do
  5. 2:09Comparative Heuristic
  6. 2:30Why Do We Care about Interfaces
  7. 3:05Memory Ownership
~/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.