Migration from C to C++
summary
Claims concrete migration steps: learn classes, references and templates and unlearn raw arrays and manual malloc/free; prefer std::vector or std::array over C arrays, use std::string not char buffers, and replace raw pointers with std::unique_ptr; pass complex parameters by const reference, use standard algorithms (std::sort, std::find) not hand-rolled loops, and favor exceptions over error codes. These recommendations are practical replacements that aim to reduce leaks and unnecessary copying.
AI-written summary · about
chapters (13)
- 0:00Migrating from C to C++
- 1:04C versus C++
- 5:00C++ features differences
- 6:31C++ classes for C devs
- 11:31C++ templates intro
- 13:57C++ standard library
- 18:20C++ function parameters
- 21:34Namespaces and overloading
- 23:23Modern C++ pointers
- 26:42Raw arrays to containers
- 29:36C++ questions
- 34:55Unlearn and learn
- 39:35Q&A
related talks
01h 03mFrom Introductory to Advanced C++ - Learning Guidelines
49mHow to approach learning and teaching C++
42mMitigating the Intellectual Anxiety in Learning C++
01h 01mLearning (and teaching) modern C++ - Challenges and Resources
01h 31mLearning from C++ Juniors’ Mistakes
01h 39m“Learning and Teaching Modern C++”
05m10 Things Junior C++ Devs Don't Get
01h 29m“Simplicity: Not Just For Beginners”
