I think, this video makes it more complex than it is. Strategy is all about encapsulating changes in such a way that there will be least modifications required to add new behaviour or to update current behaviour
@codeXtree10 ай бұрын
Explained very well
@habib3023 Жыл бұрын
This example is confused with factory design pattern. Don't just give bookish example
@SapnaKumari-bm7mn2 ай бұрын
example is good i believe your basic is weak. in factory we are concern about object creation, in stategy we are concern with differnt algorithms in different scenarios