Composite
With this pattern, we can model object/structs hierarchies independently if the object is simple or composed it will be treated uniformly
Apr 6, 20235 min read67
Search for a command to run...
Series
In this series, I will publish articles related to my design patterns studies. I am using this blog as a tool to learn more efficiently and hopefully will help others as well.
With this pattern, we can model object/structs hierarchies independently if the object is simple or composed it will be treated uniformly
It's a behavioral pattern which turns possible changes in behavior accordingly to the chosen strategy. Structure Context The use of context is recommended so that the client does not need to know the implementation details of each strategy. It can f...