~/talk

Investigating C++ Legacy Design Trends: Newer Isn’t Always Better!

slides:none on file

Compares concrete replacements and measurements: shows C++20 Concepts make errors readable versus SFINAE/Boost that produce inscrutable template traces; compares Singleton/monostate implementations to dependency injection with constructor/setter patterns and testability tradeoffs; demonstrates CRTP, its multi‑level pitfalls, and how C++23 deducing this simplifies CRTP; counts where templates recreate as many dynamic dispatch sites as virtuals and where compile‑time approaches win on performance and readability. Includes code samples and compiler output.

AI-written summary · about

  1. 0:00Legacy design trends in C++
  2. 3:57Index loops vs range-based loops
  3. 8:10Global variables and Singleton
  4. 18:48Concepts and template constraints
  5. 30:46Polymorphism alternatives
  6. 45:48Modern C++ alternatives
  7. 48:59Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.