Strategy Design Pattern In C#

  Рет қаралды 1,553

Code Maze

Code Maze

Күн бұрын

Пікірлер: 12
@CodeMaze
@CodeMaze 5 ай бұрын
Thank you all for watching and for your support. ►► If you want to check out all our courses you can do that here: bit.ly/cdmz-courses
@codewithgilly
@codewithgilly 4 ай бұрын
great stuff
@CodeMaze
@CodeMaze 4 ай бұрын
I am glad you think that way. Thanks a lot for watching.
@OnePieceWonPeace
@OnePieceWonPeace 2 ай бұрын
The Strategy Pattern is great when you need to, say, change a custom table column sort based on some other settings. I tend to notice, however, that The Strategy Pattern oftentimes quickly becomes The State Pattern where, in the table example, ends up with the entirety of settings data and all the different methods for sorting the table data between different states across all of the columns. I think of The State Pattern just as The Strategy Pattern on steroids, or at least just more fleshed out over time. That said, many times all you need is just The Strategy Pattern.
@CodeMaze
@CodeMaze 2 ай бұрын
I fully agree. In software architecture so many times something that we initially meant to use as one pattern becomes something different when we are done with it. So, I would say it is the natural way of things and not in the bad way.
@aliwa91
@aliwa91 4 ай бұрын
Thanks
@CodeMaze
@CodeMaze 4 ай бұрын
Welcome. Thanks for watching the video.
@davidmares6053
@davidmares6053 4 ай бұрын
gracias :)
@CodeMaze
@CodeMaze 4 ай бұрын
My pleasure. Thanks for watching this one.
@NikolaGolijanin-m8s
@NikolaGolijanin-m8s 4 ай бұрын
Hi Marinko, i use strategy pattern a lot, but i found it much easier to implement it using delegates instead of interface and concrete implementations. What you think about that approach?
@CodeMaze
@CodeMaze 4 ай бұрын
To be honest, I don't know what to think about that because I never did it that way. I am trying to put my head around the idea of using a delegate to change a complete behavior of a class, but if it works, awesome.
Factory Design Pattern in C# - Create Flexible Code in Your Apps
12:22
Combine Design Patterns To Reveal Their Greatest Power
14:21
Zoran Horvat
Рет қаралды 8 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
How to Implement the Strategy Pattern in C#:
8:51
Tech With Pat
Рет қаралды 6 М.
Master the Fluent Builder Design Pattern in C#
15:05
Milan Jovanović
Рет қаралды 29 М.
Strategy Pattern - DESIGN PATTERNS (C#/.NET)
20:36
SingletonSean
Рет қаралды 3,5 М.
Implementing API Gateway With Ocelot in ASP.NET Core
13:26
Code Maze
Рет қаралды 7 М.
Factory Pattern in C#: Creating Objects with Ease
12:54
campbelltech
Рет қаралды 19 М.
What is the Strategy Pattern? (Software Design Patterns)
13:18
Be A Better Dev
Рет қаралды 60 М.
Factory Pattern in C# with Dependency Injection
1:07:33
IAmTimCorey
Рет қаралды 111 М.
State Design Pattern (C#)
9:17
Raw Coding
Рет қаралды 17 М.
7 Years of Software Engineering Advice in 18 Minutes
18:32
You're not stupid: How to learn difficult things with Obsidian
6:16
Python Programmer
Рет қаралды 435 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН