Click here to Skip to main content
15,885,875 members
Articles / General Programming / Architecture

Applying the Strategy Pattern

Rate me:
Please Sign up or sign in to vote.
4.74/5 (12 votes)
23 Sep 2015CPOL5 min read 17.7K   92   11  
How to apply the strategy pattern to a problem while designing a class hierarchy. What are the pros and cons of this approach?

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Poland Poland
Software developer interested in creating great code and passionate about teaching.

Author of C++17 In Detail - a book that will teach you the latest features of C++17!

I have around 11 years of professional experience in C++/Windows/Visual Studio programming. Plus other technologies like: OpenGL, game development, performance optimization.

In 2018 I was awarded by Microsoft as MVP, Developer Technologies.

If you like my articles please subscribe to my weekly C++ blog or just visit www.bfilipek.com.

Comments and Discussions