Let’s say we want to create a newsletter grouping together all the Daily Deals coming from popular IT Book Publishers. We can source the Daily Deal information by web-scrapping the publisher website. We’ll employ the Strategy Pattern as we want to encapsulate the web-scrapping algorithm that is distinct for each publisher website and we want to maintain flexibility of introducing new publishers in
![Strategy Pattern in Scala – A Pragmatic Example](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)