ycliper

Популярное

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

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

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

Топ запросов

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

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

Автор: cpponsea

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

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

Описание: 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

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++ on Sea 2024

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

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

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

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

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

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

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

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

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

Understanding The constexpr 2-Step - Jason Turner - 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

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

Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++Now 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

Exceptionally Bad: The Misuse of Exceptions in C++ & How to Do Better - Peter Muldoon - CppCon 2023

Exceptionally Bad: The Misuse of Exceptions in C++ & How to Do Better - Peter Muldoon - CppCon 2023

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

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

Полная история программирования, Часть 3: Python, C++, JavaScript, PHP (с разбором кода)

Полная история программирования, Часть 3: Python, C++, JavaScript, PHP (с разбором кода)

There is no silver bullet - Klaus Iglberger - Meeting C++ 2024

There is no silver bullet - Klaus Iglberger - Meeting C++ 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

Dependency Injection in C++

Dependency Injection in C++

C++ Cache Friendly Data + Functional + Ranges = ❤️ - Björn Fahller  - C++ on Sea 2024

C++ Cache Friendly Data + Functional + Ranges = ❤️ - Björn Fahller - C++ on Sea 2024

РЕФЛЕКСИЯ В С++26: Неужели дождались?

РЕФЛЕКСИЯ В С++26: Неужели дождались?

Три идеи по рефакторингу от Мартина Фаулера

Три идеи по рефакторингу от Мартина Фаулера

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024

This is C++ - How to Use the C++ Superpower to Write Better C++ Code - Jon Kalb - C++ on Sea 2024

This is C++ - How to Use the C++ Superpower to Write Better C++ Code - Jon Kalb - C++ on Sea 2024

Будет ли встраиваемые системы по-прежнему привлекательной карьерой в 2026 году?

Будет ли встраиваемые системы по-прежнему привлекательной карьерой в 2026 году?

Moved-from Objects in C++ - Jon Kalb - CppCon 2024

Moved-from Objects in C++ - Jon Kalb - CppCon 2024

Dependency Injection простыми словами

Dependency Injection простыми словами

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



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



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