Overview
Watch a 41-minute conference talk from CppCon 2024 exploring the crucial software engineering principle of DRY (Don't Repeat Yourself) and how to effectively implement code reusability in C++. Learn to navigate various C++ tools for sharing code and data, including template functions, template classes, std::variant, virtual classes, and std::any. Discover essential programming patterns like CRTP, templated base classes, and template functions with function arguments. Gain practical insights from Sebastian Theophil, a veteran developer at think-cell, as he provides intuitive guidance on selecting the most appropriate reusability approach for different scenarios. Understand how to avoid error-prone repetitive code and make informed decisions about code structure that will improve your C++ development practices.
Syllabus
Reusable Code, Reusable Data Structures - Sebastian Theophil - CppCon 2024
Taught by
CppCon