Investigating C++ Legacy Design Trends: Newer Isn’t Always Better! - Katherine Rocha - CppCon 2024 @CppCon
Investigating C++ Legacy Design Trends: Newer Isn’t Always Better! - Katherine Rocha - CppCon 2024  @CppCon
Uploaded March 2025 | Updated September 2026, 2 weeks ago
cppcon.org
---

Newer Isn’t Always Better: Investigating C++ Legacy Design Trends and Their Modern Replacements - Katherine Rocha - CppCon 2024
---

All code is legacy code, or so they say. Software engineers scoff at the idea of new code instantly becoming legacy code, however software is a time capsule holding the design trends of the time the code was written. As new code is written, new design trends are used and potentially overused, just like the legacy patterns. What if these new design trends have more in common with the original design trends than we initially thought. One example we will investigate is object oriented design through polymorphism and how it has been replaced in many cases with template metaprogramming. There are a variety of template metaprogramming strategies that achieve the object oriented design principles, however when overused you can encounter as many templates as there would be virtual functions in object oriented programming. Have we discovered that balance is the solution or are we still overusing the “fancy” new thing? In this talk, we will investigate various legacy design trends including further examining object oriented design, the singleton pattern, as well as other legacy anti-patterns to reveal the updated trends. We will address each legacy anti-pattern and their corresponding modern update to evaluate whether newer is better or if we have recreated the same legacy problem.
---

Slides: github.com/CppCon/CppCon2024/blob/main/Presentations/Newer_Isn’t_Always_Better.pdf

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Katherine Rocha

Katherine Rocha is a new-ish software engineer who graduated in 2022. She’s passionate about embedded systems, real-time systems, and understanding as much as possible. She has been an active member of the C++ community for her entire career, starting with lightning talks at CppCon 2022 and C++Now 2023. She’s figuring it out one warning, error, and question at a time.
---

CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer
Investigating C++ Legacy Design Trends: Newer Isn’t Always Better! - Katherine Rocha - CppCon 2024Lightning Talk: CppDefCon3 - WarGames - Kevin Carpenter - CppCon 2024Lazy and Fast: Ranges Meet Parallelism in C++ - Daniel Anderson - CppCon 2025Lightning Talk: Eight Consteval Queens and Compile-Time Printing - Sagnik Bhattacharya - CppCon 2025Cache-Friendly C++ - Jonathan Müller - CppCon 2025Lightning Talk: How Far Should You Indent Your Code? - The Number Of The Counting - Dave SteffenLightning Talk: Crafting CUDA Compatible C++ Code - Jon White - CppCon 2025Back to Basics: Master the static, inline, const, and constexpr C++ Keywords - Andreas FertigFrom Pure ISO C++20 To Compute Shaders - Koen Samyn - CppCon 2025Learn C++ Performance Secrets from a Bloomberg Engineer At CppCon 2025!Back to Basics: Rvalues and Move Semantics in C++ - Amir Kirsh - CppCon 2024Implement the C++ Standard Library: Design, Optimisations, Testing while Implementing Libc++
CppCon |

Investigating C++ Legacy Design Trends: Newer Isn’t Always Better! - Katherine Rocha - CppCon 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER