Design Pattern Riddle #4

q. When there are many way to do one thing,
And you need to switch from that to this.
Just abstract away those different pieces;
Then you’ll be living in encapsulated bliss.

a. Strategy

~/riddle by me