Use when you want to select between different algorithms in the process of task resolving. So basically all that you need to realize this pattern are strategies (each of them in the separated component/class, but with the same interface) and strategy selector (decides what strategy is more effective at the moment and uses it).

Subscribe to our channels!
Youtube
Facebook
Twitter
LinkedIn
Instagram
Google +

We are looking forward to meeting you on our website blog.soshace.com

Read More:  23. Node.js Lessons. Domains, asynchronous try.. catch. Part 1.
Share.
Leave A Reply
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.