No video

C++ Builder design pattern: A pragmatic approach

  Рет қаралды 3,837

platis.solutions

platis.solutions

Күн бұрын

Пікірлер: 7
@goksanisil9107
@goksanisil9107 Жыл бұрын
Appreciate your clarity (both in slides and narration), pragmatic approach and minimalism.
@RishmaceInDaFace
@RishmaceInDaFace 4 ай бұрын
My first language is english and you speak 100x more clearly and amazing vocabulary 😂, very well explained video
@TheFinagle
@TheFinagle 5 ай бұрын
Thank you for this clear description. This is what I needed for my own Menu backend I have been working on. I was trying to figure out how to have a lot of options for overlapping functionality without having to have a ton of different classes or calls - I can wrap each base functionality into a component and use a builder like design to construct a composition class that has whatever is needed for a particular element. Sometimes I find the text book descriptions of things like this kinda hard to visualize, and the extremely simple sample code snippets too simple to show whats going on. I like these more moderately complex samples that actually show things at work and give room to think a bit about how data is being moved around to get where it needs to be.
@platisd
@platisd 5 ай бұрын
Very happy to hear the example suited right for your use case! 👌
@MartinCordova
@MartinCordova 10 ай бұрын
Very well explained
@anthonysteinerv
@anthonysteinerv 9 ай бұрын
If I want to reuse the builder object to build, let's say, 2 menus, do we have to create a new Menu after the std::move on the build method?
@platisd
@platisd 9 ай бұрын
Correct. Alternatively, if you really want to avoid creating a new builder object (for whatever reason), you could instead store all the different "attributes" in the `Menu` class and only create a `Impl` object when someone calls the `build()` function. In that case the `withBorder`, `addOption` etc methods of the `Builder` class would merely set member variables and only create an `Impl` object upon the call of `build`. If you'd like us to discuss with more details and potentially code examples, please start an "issue" or a "discussion" in the GitHub repo (github.com/platisd/cpp-builder-pattern).
SINGLETONS in C++
19:16
The Cherno
Рет қаралды 199 М.
Builder Design Pattern In C++
8:37
CppNuts
Рет қаралды 27 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 5 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 15 МЛН
The Pointer to Implementation (pImpl) idiom in C++
6:54
platis.solutions
Рет қаралды 14 М.
Adapter Pattern - Design Patterns (ep 8)
26:36
Christopher Okhravi
Рет қаралды 241 М.
How to write SOLID C++
29:22
platis.solutions
Рет қаралды 40 М.
C++ Tutorial: the factory design pattern
14:21
Professor Hank Stalica
Рет қаралды 10 М.
10 Design Patterns Explained in 10 Minutes
11:04
Fireship
Рет қаралды 2,2 МЛН
Building Complex Objects in a Simple Way with C#
12:19
Gui Ferreira
Рет қаралды 8 М.
Let's get comfortable with SFINAE (C++)
35:55
platis.solutions
Рет қаралды 7 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 5 МЛН