~/talk

“Stop Teaching C"

Talkat CppCon 2015 · 2015-09-21..09-25· [c-and-cpp]
slides:none on file

Argument: stop starting C++ courses with C details and instead teach strings and vector from day one so beginners use the Standard Library, learn RAII and scope, and avoid buffer/printf/array pitfalls. Introduce polymorphism with references (no pointer punctuation), then delay raw pointers until smart pointers and use algorithms with lambdas to express intent. A one‑day intro built this sequence and covers const, exceptions, lambdas and deterministic destruction, and students both understand polymorphism faster and enjoy the course more.

AI-written summary · about

  1. 0:00Intro
  2. 0:41Preaching to the choir?
  3. 4:02What makes C++ C++?
  4. 12:15Instead: Use the debugger
  5. 19:06An aside about using namespace
  6. 22:00Example: lambdas
  7. 25:39Polymorphism
  8. 27:21How do you demo this?
  9. 29:18When to introduce const?
  10. 32:04What about scope?
  11. 44:12What will you have skipped?
  12. 50:30What might happen?
~/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.