The Flyweight Pattern

preview_player
Показать описание
The Flyweight Pattern lets you have your cake and eat it - at least in software terms.

Рекомендации по теме
Комментарии
Автор

So many patterns. Which ones do you use most?
And if you liked the video, don't forget to click the button.

CodingTutorialsAreGo
Автор

Nice so its a kind of recycling. Did you tried some stress testing with a high count of items? I am curious how the performance would improve.

VindicatorMorty
Автор

Thank you for the video! Can we say that flyweight pattern and cache are the same things?

rustamhajiyev
Автор

Thats another very good Video. I have to try this Pattern in future Projects.
Could you please make a video about the Repository and UnitOf Work Pattern?

Sidenote: If I am not wrong you don't need the "else" Statement because if the item is found you return it immediately.

Schnickalodeon