Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

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

Автор: cpponsea

Загружено: 2024-11-16

Просмотров: 6670

Описание:

https://cpponsea.uk​
---

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

A key principle for testing code is the concept of dependency injection aka the ability to swap out functionality of key components. This feature allows not only for easier code testability but also promotes well structured code that is more extensible and flexible beyond its original use cases.

In this talk we will explore the basic building blocks that can be used for Dependency injection like link-time substitution, dummies, Interfaces via Inheritance, templates, smart-pointers and polymorphic function wrappers. what are their strengths and weaknesses and the problem space they best serve. But what exactly is good dependency injection and what are good/bad strategies for employing these building blocks ?

How do you inject multiple dependencies into classes/functions without going down the road to singletons and global state ? We will also show how to introduce dependency injection into older codebases that were never designed for the concept. Doing this without having to make major changes throughout a legacy codebase ?

After exploring this and other use cases, we suggest better ways to handle these specific situations. Finally a coherent strategy for adding DI to your applications should emerge and be added to your developer toolbox.
---

Slides: https://github.com/philsquared/cppons...

Sponsored by Bloomberg: https://www.bloomberg.com/company/val...
Sponsored By think-cell: https://www.think-cell.com/cpponsea
---

Peter Muldoon

Pete Muldoon has been using C++ since 1991. Pete has worked in Ireland, England and the USA and is currently employed by Bloomberg. A consultant for over 20 years prior to joining Bloomberg, Peter has worked on a broad range of projects and code bases in a large number of companies both tech and finance. Such broad exposure has, over time, shown what works and what doesn't for large scale engineering projects. He's a proponent of applied engineering principles, elegant solutions and expressive code.
---

C++ on Sea is the international C++ conference taking place by the sea, in the UK. Our venue is in Folkestone, Kent, near the entrance to the channel tunnel with stunning views across the English Channel.
Annual C++ On Sea Conference - https://www.cpponsea.uk
  / cpponsea  
https://x.com/cpponsea
https://www.facebook.com/profile.php?...
  / cpponsea  
https://vmst.io/@cpponsea
---

YouTube Videos Filmed, Edited & Optimised by Digital Medium: https://events.digital-medium.co.uk
---

#cpp #cplusplus #dependencyinjection #cppprogramming #cpponsea

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

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Practical Production-Proven Constexpr API Elements - Marcus Boerger - C++ on Sea 2024

Practical Production-Proven Constexpr API Elements - Marcus Boerger - C++ on Sea 2024

Refactoring C++ Code for Unit testing with Dependency Injection - Peter Muldoon - CppCon 2024

Refactoring C++ Code for Unit testing with Dependency Injection - Peter Muldoon - CppCon 2024

Keynote: There Is No Silver Bullet to Solve All C++ Software Problems - Klaus Iglberger - C++ on Sea

Keynote: There Is No Silver Bullet to Solve All C++ Software Problems - Klaus Iglberger - C++ on Sea

Python для начинающих - Урок 28 | Функции высшего порядка | map и filter

Python для начинающих - Урок 28 | Функции высшего порядка | map и filter

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

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

Three Cool Things in C++26: Safety, Reflection & std::execution - Herb Sutter - C++ on Sea 2025

Three Cool Things in C++26: Safety, Reflection & std::execution - Herb Sutter - C++ on Sea 2025

Как устроен PHP 🐘: фундаментальное знание для инженеров

Как устроен PHP 🐘: фундаментальное знание для инженеров

Understanding The constexpr 2-Step - Jason Turner - C++ on Sea 2024

Understanding The constexpr 2-Step - Jason Turner - C++ on Sea 2024

Breaking Dependencies - The Visitor Design Pattern in Cpp - Klaus Iglberger - CppCon 2022

Breaking Dependencies - The Visitor Design Pattern in Cpp - Klaus Iglberger - CppCon 2022

Back to Basics: Unit Testing in C++ - Dave Steffen - CppCon 2024

Back to Basics: Unit Testing in C++ - Dave Steffen - CppCon 2024

SOLID ПРИНЦИПЫ простым языком (много примеров)

SOLID ПРИНЦИПЫ простым языком (много примеров)

How Linux Elf Symbols Work and How They Are Used in C++ and C Programming - Anders Schau Knatten

How Linux Elf Symbols Work and How They Are Used in C++ and C Programming - Anders Schau Knatten

C++ RVO: Return Value Optimization for Performance in Bloomberg C++ Codebases - Michelle Fae D'Souza

C++ RVO: Return Value Optimization for Performance in Bloomberg C++ Codebases - Michelle Fae D'Souza

SOLID принципы: DIP (Принцип инверсии зависимостей (The Dependency Inversion Principle)

SOLID принципы: DIP (Принцип инверсии зависимостей (The Dependency Inversion Principle)

Back to Basics: Almost Always Vector - Kevin Carpenter - CppCon 2024

Back to Basics: Almost Always Vector - Kevin Carpenter - CppCon 2024

Срочное обращение к Путину / Регион решил отделиться

Срочное обращение к Путину / Регион решил отделиться

Внедрение зависимостей | Prime Reacts

Внедрение зависимостей | Prime Reacts

Type Erasure - The Implementation Details - Klaus Iglberger - Meeting C++ 2023

Type Erasure - The Implementation Details - Klaus Iglberger - Meeting C++ 2023

C++ Fundamentals - Algorithms - Klaus Iglberger - C++ on Sea 2024

C++ Fundamentals - Algorithms - Klaus Iglberger - C++ on Sea 2024

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]