If your strategy pattern relies on parameters, what's the right place set them? In this video, I show you three ways of doing this and what their effect is on the design of your software.

🔖 Chapters:
0:00 Intro
0:58 Explaining the example
3:34 Analysis of the example
4:40 Solution #1: keyword args
7:02 Solution #2: parameters class
10:47 Solution #3: strategy class initializer
13:56 Final thoughts

#python 

Strategy Pattern // In Python | How to Solve Common Problems
11.10 GEEK