How to Use C++ Dependency Injection to Write Maintainable Software - CppCon 2022
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Discover effective techniques for managing dependencies through dependency injection in C++ to create decoupled, easily refactored, and testable components. Learn how to handle dependencies on both data and behaviors, explore suitable situations for each approach, and discover libraries that simplify the process. Gain insights into writing components that effectively accept dependencies, propagating them throughout your codebase, and addressing complex scenarios involving multiple component dependencies and deferred instantiation. Apply these practical strategies to transform and simplify typical production code, enhancing maintainability and understanding of your software systems.