~/talk

Oo Considered Harmful

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

Claims that object orientation mixes useful high‑level ideas with low‑level harms and argues for a split: use immutable value types and builders for low‑level code and actor/active‑object style components at the high level. Compares implementations: message passing (Objective‑C), vtables, type erasure (dyno), and sum types like std::variant/pattern matching. Cites Simula history and Dijkstra’s “considered harmful”, notes Kevlin Henney’s related talk has ~160,000 views, and describes a ref‑counted immutable string plus string builder that proves the approach works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:22Oo Considered Harmful
  3. 6:39Kevin Hennessy
  4. 9:12What is Oo
  5. 10:59History of Oo
  6. 17:00Example Code
  7. 17:54Other Languages
  8. 20:43Oo Features
  9. 23:34Virtual Dispatch
  10. 29:26Type Eraser
  11. 33:27SAM Types
  12. 38:35Implementation Inheritance
  13. 39:46Encapsulation
  14. 47:02Mutability
  15. 50:26Closing Thoughts
  16. 54:17Questions
~/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.