Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the principles of code reusability in C++ through this conference talk by Sebastian Theophil at C++ on Sea 2024. Delve into the importance of the DRY (Don't Repeat Yourself) principle and its impact on reducing error-prone code. Examine various C++ tools for sharing code and data, including template functions, template classes, std::variant, virtual classes, and std::any. Gain insights into associated programming patterns such as CRTP, templated base classes, and template functions with function arguments. Develop intuition for selecting the most appropriate tool for different situations, enhancing your ability to write efficient and maintainable C++ code. Learn from Sebastian Theophil's extensive experience at think-cell Software and his work on projects like porting think-cell to macOS and maintaining the typescripten project.