Dependency Injection - A 25-Dollar Term for a 5-Cent Concept
Offered By: CppNow via YouTube
Course Description
Overview
Explore the concept of Dependency Injection (DI) in C++ through this comprehensive conference talk from C++Now 2019. Delve into the simplicity and power of DI, learning how it's inherently used in constructor implementations. Examine real-world success stories of DI application in various projects, weighing the pros and cons of its usage. Understand why DI is crucial for maintaining and testing code in environments with changing requirements. Compare different DI methods, approaches, and frameworks, including templates, concepts, type-erasure, inheritance, and variant. Gain insights into runtime and compile-time injection, and explore popular DI frameworks like [Boost].DI, Google.Fruit, and Hyperdemic. Learn to apply DI effectively in your C++ projects, covering topics such as design principles, simple implementation, testability, Single Responsibility Principle, coupling, and test-driven development. By the end, acquire a clear understanding of DI use cases, benefits, and guidelines for proper implementation in C++ programming.
Syllabus
Introduction
Agenda
Design principles
Simple implementation
Testable
Single Responsibility Principle
Coupling
Distance Friends
Function
Virtual concepts
Man approach concepts
Wiring concepts
Testing concepts
TDD testdriven development
Is it flexible
Good practice
Wiring
Wire in mass
Frameworks
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube