Lightning Talk: Dependency Injection for Modern C++ - Tyler Weaver - CppCon 2022

Опубликовано: 06 Февраль 2026
на канале: CppCon
15,588
264

https://cppcon.org/
---

Lightning Talk: Dependency Injection for Modern C++ - Tyler Weaver - CppCon 2022
https://github.com/CppCon/CppCon2022

DI is a fancy OO term with an even more complex set of tooling to solve a problem that higher order functions solve in a nicer way. In this talk I'll demonstrate using std::function for dependency injection and talk about how taking functions as a parameter is nicer and more first class in C++ than inheritance or complex mocking libraries.
---

Tyler Weaver
__

Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf
---

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd https://events.digital-medium.co.uk


#cppcon #programming #dependencies