Breaking Dependencies: The Path to High-Quality Software - Klaus Iglberger - Meeting C++ 2022

  Рет қаралды 10,151

Meeting Cpp

Meeting Cpp

Жыл бұрын

Breaking Dependencies: The Path to High-Quality Software - Klaus Iglberger - Meeting C++ 2022
slides.meetingcpp.com
survey.meetingcpp.com

Пікірлер: 10
@hugoyoutube1226
@hugoyoutube1226 5 ай бұрын
Klaus Iglberger is a great presenter, passionate about his topic. He is able to explain simply very complex concepts, with humility and passion. thanks for the great talk and explanation. You convinced me design patterns matter !
@haiphamle3582
@haiphamle3582 Жыл бұрын
Another great talk by Klaus Iglberger! I really appreciate Klaus's effort to promote the design and architecture focus in the C++ community. I believe those who are interested can find much deeper and wider information about how to break dependencies from his C++ design book.
@Roibarkan
@Roibarkan Жыл бұрын
Great talk! Regarding singleton, note that its definition in 53:30 is more focused on “ensuring one instance” than on “providing an interface to an object without passing it around”. As Klaus says, if the book wasn’t written in the 90s perhaps the notion would have been implemented differently. For example, consider a singleton who’s instance() method returns a move-only (perhaps unique-ptr to an) object, that gets moved from “one global place” and can be further moved around (and perhaps moved back to the global location when not needed) - ensuring a single instance, but eliminating parallel use. I think in some cases this “move-only” approach for singleton can be a reasonable design choice for objects representing physical (non-fungable?) entities, which lends itself to dependency injection if needed.
@perfectionbox
@perfectionbox 7 ай бұрын
This is why I despise Agile, because too many companies treat it as a license to just plunge into coding with little thought to design.
@Elbrasch
@Elbrasch Жыл бұрын
The question at the end completely missed the point of the talk.
@VincentZalzal
@VincentZalzal Жыл бұрын
I agree, but I'm still glad the question was asked. It made me realize that, while the solution presented for implementing Singleton does break dependencies, it also introduces a new failure point (calling get() before the first set()) that is somewhat harder to prevent. The traditional Singleton that relies directly on a concrete type doesn't have that failure point. So it's a trade-off. To delve deeper into the topic (even if not relevant to the point of the talk): in the usual case where the Singleton concrete type won't change at runtime after the start of the program, then a compile-time or link-time solution should also be considered. It would avoid the failure point, and would also avoid the added cost of virtual functions, which are not useful in this case.
@haiphamle3582
@haiphamle3582 Жыл бұрын
@Stefan Asbeck: Agree, I think the question mixed up 2 problems: The global initialization order and The singleton. Once global objects start depending on each other, it has become a serious problem on its own, and there is nothing to do with the Singleton. I think the reason for the mixing here could be that Singleton introduces more hidden dependencies, which makes the problem appear easier.
@rolandinnamorato1953
@rolandinnamorato1953 Жыл бұрын
"High quality software: easy to change, easy to extend, easy to test." None of those things matter to a user. High quality software performs the expected functions with high performance, low latency, and good UI/UX.
@fernandolener1106
@fernandolener1106 7 ай бұрын
What you described is a high quality product in my point of view.
@jenrrytan4928
@jenrrytan4928 7 ай бұрын
You are right,but how to achieve it? The video is just one of the ways
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 70 МЛН
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 26 МЛН
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 72 МЛН
Understanding Compiler Optimization
1:41:09
NWCPP - Northwest C++ Users Group
Рет қаралды 6 М.
Why Use Design Patterns When Python Has Functions?
23:23
ArjanCodes
Рет қаралды 97 М.
Back to Basics: Testing in C++ - Phil Nash - CppCon 2023
1:02:33
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 1,8 МЛН
Power up all cell phones.
0:17
JL FUNNY SHORTS
Рет қаралды 48 МЛН
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 223 М.
POCO F6 PRO - ЛУЧШИЙ POCO НА ДАННЫЙ МОМЕНТ!
18:51
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 652 М.