24 hour challenge - think of a SEALED class that you could extend using the Decorator Pattern! Can't be StringBuilder; that's too easy! Post in the comments!
Went through this tutorial and I gotta admit that some of it still eludes me. Its not so much the logic, but the re-application of something similar in a different context. Nonetheless, this was another amazing video, thanks.
Thanks for another great video. I'll have to watch it a few times as there was a lot of stuff covered. Want to see what you do when you make your singleton video. I see a lot very simple methods done and always wonder if they are being thorough and actually covering what's needed.
it was realy helpfull explanation and example, thank you so much. I also would like to see singleton from you as soon as possible :) your content is great, happy that i discovered it
happy to hear that ^^ are you also considering a complete game tutorial to explain which pattern or technique to use where . It would be great if you can build a game from zero with explanation of the architechture@@git-amend
Amaizing, thanks for making Unity videos. The community needs you. Btw, the Decorator Pattern is kinda like working with a Monad? The final result seems to work like one.
Thanks for the kind words! Good observation about the Decorator Pattern and Monads. They do indeed share a conceptual similarity in that they both involve wrapping or augmenting functionality. 👍
Clean and concise as every video in this series so far! Any tips on additional learning resources (books, course, etc.) that teach design patterns and code architecture (preferable in terms of game development) as understandable as you do? Thanks for your much appreciated effort, looking forward to any future videos!
Thank you! I've learned the most about patterns from experience as a software engineer, and not from a book or course. That being said, there is one good website I will recommend. While not specific to Game Dev, I think that the refactoring.guru site is a great resource no matter what type of programming you are doing.
Very cool video as usual! Still not as easy to see where I could use this pattern as it was for builders and factories, but I understand decorators much better now.
Can you elaborate when to use the Decorator vs Strategy Pattern? They almost like do the same thing like you can make different Card Strategy base on your video.
The Decorator pattern lets you add new features to an object without changing its structure by wrapping it inside another object that provides the extra functionality. The Strategy pattern lets you switch out the core logic or algorithm of an object by encapsulating different behaviors and making them easily interchangeable. Essentially, Decorator changes what an object can do, while Strategy changes how an object does it.
@@git-amend I see so it is like: Decorator - I can Attack and add more functionality to it. Strategy - I can use that Attack and change how it will do it.
24 hour challenge - think of a SEALED class that you could extend using the Decorator Pattern! Can't be StringBuilder; that's too easy! Post in the comments!
Went through this tutorial and I gotta admit that some of it still eludes me. Its not so much the logic, but the re-application of something similar in a different context. Nonetheless, this was another amazing video, thanks.
Great to hear!
Nice, been wanting to build a turn based game and this might be very useful to create combos between characters. Thanks as always! ❤
Right on! Sounds great!
Thanks for another great video. I'll have to watch it a few times as there was a lot of stuff covered. Want to see what you do when you make your singleton video. I see a lot very simple methods done and always wonder if they are being thorough and actually covering what's needed.
Thanks! For sure, Singletons are on my list of videos to do!
make UML graphs great again! I'm strictly a hobbyist and learning UML and design patterns did so much for my understanding of programming
it was realy helpfull explanation and example, thank you so much. I also would like to see singleton from you as soon as possible :) your content is great, happy that i discovered it
Thanks! Haha, yes Singleton is in the pipeline... the Patterns series wouldn't be complete without that one!
happy to hear that ^^ are you also considering a complete game tutorial to explain which pattern or technique to use where . It would be great if you can build a game from zero with explanation of the architechture@@git-amend
Amaizing, thanks for making Unity videos. The community needs you.
Btw, the Decorator Pattern is kinda like working with a Monad? The final result seems to work like one.
Thanks for the kind words! Good observation about the Decorator Pattern and Monads. They do indeed share a conceptual similarity in that they both involve wrapping or augmenting functionality. 👍
Dude... you are quickly becoming my favorite UA-camr. #frfr
Wow thanks!
I really like these types of videos, they help improve game development skills to a new level. It's also very concise, saving a lot of time.
Thank you!
Clean and concise as every video in this series so far! Any tips on additional learning resources (books, course, etc.) that teach design patterns and code architecture (preferable in terms of game development) as understandable as you do? Thanks for your much appreciated effort, looking forward to any future videos!
Thank you! I've learned the most about patterns from experience as a software engineer, and not from a book or course. That being said, there is one good website I will recommend. While not specific to Game Dev, I think that the refactoring.guru site is a great resource no matter what type of programming you are doing.
@@git-amend Thank you very much!
8:50 a man of his word 😎
Haha yea finally
🔥🔥🔥
Great video! What tool did you use to create the class diagram for the cards? I like how the rectangles and font look.
That's called Excalidraw
now i want to make a card game ^^
Nice, go for it!
Very cool video as usual! Still not as easy to see where I could use this pattern as it was for builders and factories, but I understand decorators much better now.
Awesome, thanks!
Can you elaborate when to use the Decorator vs Strategy Pattern? They almost like do the same thing like you can make different Card Strategy base on your video.
The Decorator pattern lets you add new features to an object without changing its structure by wrapping it inside another object that provides the extra functionality. The Strategy pattern lets you switch out the core logic or algorithm of an object by encapsulating different behaviors and making them easily interchangeable. Essentially, Decorator changes what an object can do, while Strategy changes how an object does it.
@@git-amend I see so it is like:
Decorator - I can Attack and add more functionality to it.
Strategy - I can use that Attack and change how it will do it.