Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Dependency Injection in C++ - A Practical Guide

cpponsea via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about dependency injection principles and implementation in C++ through this conference talk from C++ on Sea 2024. Explore essential building blocks including link-time substitution, dummies, inheritance-based interfaces, templates, smart pointers, and polymorphic function wrappers while understanding their strengths, weaknesses, and optimal use cases. Master practical strategies for injecting multiple dependencies without relying on singletons or global state, and discover techniques for introducing dependency injection into legacy codebases with minimal disruption. Drawing from over 30 years of C++ experience, gain insights into applied engineering principles that promote testable, extensible, and well-structured code through practical examples and real-world scenarios. Examine what constitutes effective dependency injection and develop a coherent strategy for implementing these patterns in your own applications.

Syllabus

Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++ on Sea 2024

Taught by

cpponsea

Reviews

Start your review of Dependency Injection in C++ - A Practical Guide

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.