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

Learn to Program: Crafting Quality Code
University of Toronto via Coursera
Introduction to Agile Software Development: Tools & Techniques
University of California, Berkeley via edX
Software Architecture & Design
Georgia Institute of Technology via Udacity
Software Design for Non-Designers
mooc.house via Independent
Técnicas Avançadas para Projeto de Software
Instituto Tecnológico de Aeronáutica via Coursera