Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha  C++Now 2024 @CppNow
Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha  C++Now 2024  @CppNow
Uploaded August 2024 | Updated December 2026, 3 hours ago
cppnow.org
---

Newer Isn’t Always Better - Investigating Legacy Design Trends in C++ and Their Modern Replacements - Katherine Rocha - C++Now 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 factory 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/boostcon/cppnow_presentations_2024/blob/main/Presentations/Newer-Isnt-Always-Better.pdf


---

Katherine Rocha

Katherine Rocha is an embedded software engineer at Atomos Space. She’s passionate about embedded systems, real-time systems, legacy code, 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 and a talk about code genealogy at CppCon 2023. She’s figuring it out one warning, error, and question at a time.
---

C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---

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

#boost #cpp #code #softwareengineeringtutorials #cppprogramming
Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha  C++Now 2024Keynote: Benchmarking - Its About Time - Matt Godbolt - C++Now 2026When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad AcharyaA Little Introduction to Control Flow Integrity in C++ - James McNellis - C++Now 2026Refactoring Legacy C++ OOP Application Code with Functional Programming and Type Erasure ConceptsReflection Is Good for C++ Code Health - Saksham Sharma - C++Now 2024Making A Program Faster - Multithreading & Automatic Compiler Vectorization - Ivica BogosavljevicCppNow 2024 Session Preview with Bret Brown and @cppeventsLightning Talk: How to Leverage SIMD Intrinsics for Massive Slowdowns - Matthew Kolbe - CppNow 2023Unit Testing an Expression Template Library in C++20 - Braden Ganetsky - C++Now 2024Concept Maps using C++23 Library Tech - Indirection to APIs for a Concept - Steve Downey - C++Now 24Undefined Behavior From the Compiler’s Perspective - Shachar Shemesh - C++Now 2025
CppNow |

Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha C++Now 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER