Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Working with C++ Legacy Code

NDC Conferences via YouTube

Overview

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.

Syllabus

Intro
Legacy Code
Legacy Code Properties
Continuously patched and hacked
Broken features
Who wrote the code
Legacy Code has users
The simple algorithm
The Google Test
Fake Objects
Inheritance
Problems
Singletons
Static Methods
Private Methods
Other Tricks
Conclusion

Taught by

NDC Conferences

Reviews

Start your review of Working with C++ Legacy Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.