V
主页
Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++Now 2024
发布人
https://www.youtube.com/watch?v=kCYo2gJ3Y38 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, null-valued objects, 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 Dependency Injection to your applications should emerge and be added to your toolbox. --- 幻灯片链接:https://github.com/boostcon/cppnow_presentations_2024/blob/main/Presentations/Dependency_Injection_in_Cpp.pdf
打开封面
下载高清视频
观看高清视频
视频下载器
C++ Reflection - Back on Track - David Olsen - C++Now 2024
C++11 to C++23 in the C++ Memory Model - Alex Dathskovsky - C++Now 2024
C与C++的区别究竟是什么?
Implementing Ranges and Views in C++ - Roi Barkan - C++Now 2024
A Deep Dive Into C++ Object Lifetimes - Jonathan Müller - C++Now 2024
Unlocking Modern CPU Power - Next-Gen C++ Optimization Techniques
C++ Coroutines and Structured Concurrency in Practice - Dmitry Prokoptsev
Functional C++ - Gašper Ažman - C++Now 2024
Keynote: C++ Painkillers for C++ Developers - The Evolution of C++ Tooling
C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024
GDC 2023: A Visual Guide to Quaternions and Dual Quaternions
OpenGL 和 C++ 开发的项目,耗时六个月,纯手写,代码量约4万多行!
2024年Qt开发高级教程(从入门到精通)(全套完整版)
编程语言鄙视链现状,没有对比就没有伤害...如何快速掌握一门编程语言,少走两年弯路?!
Qt上班摸鱼写的油污粒子特效
【南京理工大学Qt大作业】崩坏大作战
C++ Coroutines at Scale - Implementation Choices at Google - C++Now 2024
Fast Conversion From Cpp Floating Point Numbers - Cassio Neri - C++Now 2024
Reflection Is Good for C++ Code Health - Saksham Sharma - C++Now 2024
字节一面c++-20240909
《黑神话·悟空》是用什么编程语言开发的?为什么难以破解?
Reducing C++ Compilation Times Through Good Design - Andrew Pearcy - ACCU 2024
某UP用C++写了一个王者荣耀,结果被TX面试官踹了出来!大家都来评评理啊!
File IO - Past, Present and Future - Guy Davidson - ACCU 2024
后悔选了!大学工科里最难学的5个专业,每一个都劝退了95.7%的人!
一个非常变态,但可以让你快速学会C++的方法!草履虫都能听懂,还学不会我退出it圈
Extreme SIMD: Optimized Collision Detection in 'Titanfall'
Qt 上班摸鱼写点好玩的
【百万好评】国外技术大神C++游戏编程实战教程+C++小项目,火爆油管,10小时教你学出小游戏(中英字幕)
讲一道C语言面试题:calloc、malloc、realloc
Data Storage in Entity Component Systems - Mathieu Ropert - Meeting C++ 2023
为什么全网都在劝你学Java、Python,而不是C++?难道C++真的过时了吗?
Unreal Engine 5 C++ RPG开发
Khronos Fast Forward at SIGGRAPH 24
49.线程池和实现
字节C++客户端:只用2GB内存在20亿个整数中找到出现次数最多的数
千万别再被洗脑!四大编程语言就业真相,你知道吗?没有对比就没有伤害,看完我绷不住了!!
一个线程读,一个线程写,需要加锁吗?
C++ Run-Time Optimizations for Compile-Time Reflection - Kris Jusiak
一个程序员的逐年变化😂😂