Jacky
Originally posted by Jaydeep Rege:
I see Strategy pattern as a right candidate only when there are many variations of a complex algorithm which can't be put inside a Switch block.
I can still achieve transparency to Client without going for Strategy pattern. That can be done by adding one more abstraction layer.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|