Explore actionable guidelines for taming C++ complexity in this CppCon 2022 conference talk by Vittorio Romeo. Discover pragmatic approaches to minimize codebase complexity, enhancing maintainability, understanding, malleability, debuggability, and testability. Analyze a wide range of examples, including casting, containers, looping, and attributes, to derive practical precepts for reducing complexity. Delve into the limitations of these precepts and refine them to create real-world applicable guidelines. Gain insights on topics such as optimal use of emplace_back vs. push_back, appropriate application of [[nodiscard]], choosing between open-set and closed-set polymorphism, effective iteration techniques, modern casting practices, and leveraging templates to simplify code. Learn from an experienced C++ developer and author as he shares valuable strategies to improve code quality and developer well-being through pragmatic simplicity.
Overview
Syllabus
Pragmatic Simplicity - Actionable Guidelines To Tame Cpp Complexity - Vittorio Romeo - CppCon 2022
Taught by
CppCon