“Stop Teaching C"
summary
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
chapters (12)
- 0:00Intro
- 0:41Preaching to the choir?
- 4:02What makes C++ C++?
- 12:15Instead: Use the debugger
- 19:06An aside about using namespace
- 22:00Example: lambdas
- 25:39Polymorphism
- 27:21How do you demo this?
- 29:18When to introduce const?
- 32:04What about scope?
- 44:12What will you have skipped?
- 50:30What might happen?
related talks
01h 26mHow I Teach Modern C++ One Pixel at a Time
58mWhat Makes Good C++ Programmers: A Continuous Search For C++ Teaching Recipes
01h 01mFunctional C++
57mSome Things C++ Does Right
01h 01mLearning (and teaching) modern C++ - Challenges and Resources
54mTypical C++, But Why?
47mLearning (and teaching) modern C++ - Challenges and Resources
01h 01mThe Best Parts of C++
