Lead AI Strategy with UCSB's Agentic AI Program — Microsoft Certified
Master Windows Internals - Kernel Programming, Debugging & Architecture
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Learn about dependency injection principles and implementation strategies for C++ code in this conference talk from CppCon 2024. Explore fundamental building blocks including link-time substitution, dummies, inheritance-based interfaces, templates, and polymorphic function wrappers while understanding their relative strengths and optimal use cases. Discover practical approaches for injecting multiple dependencies without relying on singletons, factories or global state, and gain insights into refactoring legacy codebases to support dependency injection with minimal disruption. Master techniques for creating well-structured, testable, and extensible code through real-world examples presented by Peter Muldoon, a veteran C++ developer with over 30 years of experience across technology and finance sectors.
Syllabus
Refactoring C++ Code for Unit testing with Dependency Injection - Peter Muldoon - CppCon 2024
Taught by
CppCon