YoVDO

How to Use C++ Dependency Injection to Write Maintainable Software - CppCon 2022

Offered By: CppCon via YouTube

Tags

C++ Courses Unit Testing Courses Software Design Courses Software Architecture Courses Dependency Injection Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Intro
Dependency Injection
How to pass dependencies around
Data which is constant
Data which might change
Passing the dependencies
References are Universal
Factories
Unique Point
The Solution
Advantages and Disadvantages
Testability
Recap
Conclusion
Questions
Can it work
Passing as a parameter
Multiple functions
Piping


Taught by

CppCon

Related Courses

AngularJS: Framework Fundamentals
Microsoft via edX
Архитектура Android-приложений
Moscow Institute of Physics and Technology via Coursera
Client-based Web Applications development: ReactJS & Angular
Universidad Politécnica de Madrid via Miríadax
Getting Started with Blazor Server
Coursera Project Network via Coursera
Getting Started with Blazor WASM
Coursera Project Network via Coursera