~/talk

Value Oriented Programming Part V: Return of the Values

Talkat CppNorth 2023 · 2023-07-17..07-19· [functional-programming]
slides:none on file

Argues that treating many types as values rather than objects reduces entanglement by removing shared pointers and huge “Velcro” classes, showing concrete rewrites: camera state split into intrinsic geometry vs extrinsic pose, shapes stored inside a layout with selection and position moved out, a simple graph API that preserves invariants and supports coloring, and using polyvariant for polymorphism plus move-only image class and return-by-value to reclaim local reasoning, testability, and performance.

AI-written summary · about

  1. 0:00Introduction and title confusion
  2. 3:32Problem of entanglement in code
  3. 10:38Objects as nexus of coupling
  4. 17:45Graph of references and spooky action
  5. 29:18What defines a value
  6. 35:34Concept of regular types
  7. 41:34Circle class and invariants
  8. 53:27Basis functions and graph class
  9. 56:59Separating calculation from doing
  10. 58:25Move semantics and value handling
  11. 1:01:14When to use objects vs values
~/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.