Learn C, C++ Concepts
Strategy pattern becomes evident in situations where there are more than 2 different behaviors. Having a pure virtual function and calling the over-ridden method does not adequately bring out the strategy pattern.
Strategy pattern becomes evident in situations where there are more than 2 different behaviors. Having a pure virtual function and calling the over-ridden method does not adequately bring out the strategy pattern.
ReplyDelete