Beautiful C++: Updating Legacy Code

If you maintain an old large codebase, there's a good chance you don't understand parts of it. This course will show you how to update code to a more readable, understandable, and maintainable state by taking full advantage of modern C++ techniques.
Course info
Level
Intermediate
Updated
Nov 19, 2018
Duration
5h 2m
Table of contents
Course Overview
What Target Are You Trying to Reach?
The Big Picture
The Compiler Is Your Friend
Use C++ as C++
Language Changes in C++ 11, 14, and 17
The Standard Library Will Save You Time and Trouble
Reorganizing for Transparency
When Are You Done?
Description
Course info
Level
Intermediate
Updated
Nov 19, 2018
Duration
5h 2m
Description

C++ has been a popular programming language for decades, which means there’s some really old code out there. Some of it is very hard to read and maintain. Capabilities have been added to the language and standard library that could simplify this code, and possibly make it faster or eliminate nagging intermittent bugs. In this course, Beautiful C++: Updating Legacy Code, you’ll learn how to approach a large and unfamiliar codebase and make changes to modernize code. First, you'll learn some strategies for deciding exactly what to change. Then, you'll be introduced to language features and library capabilities that may not have existed when your code was first written, and can make it better now. Finally, you'll discover how to evaluate your progress and spread your gains through the rest of the code. By the end of this course, you'll be prepared for your code to last another generation or two and take full advantage of what modern C++ has to offer.

About the author
About the author

Kate Gregory is in her fourth decade of being paid to program. Her firm, Gregory Consulting Limited, is based in rural Ontario and helps clients adopt new technologies and adjust to the changing business environment. Current work makes heavy use of .NET and Visual C++ for both web and client development, especially for Windows 7 and 8. Managing, mentoring, technical writing, and technical speaking occupy much of her time, but she still writes code every week.

More from the author
Advanced Debugging with Visual Studio 2019
Intermediate
39m
Jun 26, 2019
Visual Studio 2019 Getting Started
Beginner
2h 10m
Apr 2, 2019
More courses by Kate Gregory
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone! My name is Kate Gregory. Welcome to my course, Beautiful C++: Updating Legacy Code. I'm a consultant and mentor at Gregory Consulting. I've been using C++ for over 30 years. And these days, I spend a lot of time updating old code. This course will give you the tools and strategies you need to update legacy code of your own so it can be beautiful too, readable, understandable, expressive, reassuring, and probably a little bit faster and with a few less bugs. Some of the major topics in this course include choosing what parts to update, C++ features you should be using but probably aren't, how the standard library can help you, and how to know when to stop updating. By the end of this course, you'll know what makes modern C++ better than what we used to write and how to change the code you have into something more understandable and maintainable. Before beginning this course, you should be familiar with C++ in general. I'm not going to repeat a lot of syntax or concepts from my other courses like C++ Fundamentals Including C++ 17 or Beautiful C++: Algorithms. I also expect you to know how to add tests to your code base, and I won't be covering that. I hope you'll join me on this journey to learn how to make your old code beautiful and maintainable with the Beautiful C++: Updating Legacy Code course, at Pluralsight.