Discover how you can use a similar piece of code with various databases or programs. The Strategy design pattern encapsulates the algorithm specific to each database. You can then switch that algorithm in or out depending on which database or program you are using.
Be the first to comment this.