The Strategy Pattern using C++ (The Force is Strong with this Pattern)

One of the design patterns I have used often in my career is the Strategy Pattern. This is a very powerful pattern. I like the definition from my favorite patterns book, “Head First Design Patterns: A Brain-Friendly Guide“ The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets … [Read more…]