Working with C++ Legacy Code
Explore techniques for working with C++ legacy code in this 45-minute conference talk. Learn how to tackle the challenges of maintaining and extending old, undocumented C++ codebases. Discover effective practices and patterns for transforming unmaintainable code into more manageable and extensible solutions. Gain insights into dealing with continuously patched and hacked code, broken features, and unknown authorship. Understand the importance of considering existing users when modifying legacy systems. Delve into topics such as the simple algorithm approach, Google Test implementation, fake objects, inheritance issues, and strategies for handling singletons, static methods, and private methods. Acquire valuable skills to improve your ability to work with and modernize legacy C++ code.