Главная
Study mode:
on
1
Introduction
2
Agenda
3
Design principles
4
Simple implementation
5
Testable
6
Single Responsibility Principle
7
Coupling
8
Distance Friends
9
Function
10
Virtual concepts
11
Man approach concepts
12
Wiring concepts
13
Testing concepts
14
TDD testdriven development
15
Is it flexible
16
Good practice
17
Wiring
18
Wire in mass
19
Frameworks
Description:
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. Read more

Dependency Injection - A 25-Dollar Term for a 5-Cent Concept

CppNow
Add to list
0:00 / 0:00