Design Pattern Riddle #4
1 min read

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

Edit post on GitHub


Design Pattern Riddle #5
Design Pattern Riddle #3