Strategy Design Pattern, Swiftly Explained With The Three Kingdoms

“A photo that came up when you type China in Unsplash” Photo by Theodor Lundqvist on Unsplash

While reading through common programming design patterns and learning them thoroughly, I feel that strategy design pattern is the most intriguing. Mostly because of the cool name and also its practicality in mobile development. Implementing the pattern can decouple algorithm from a class that’s using it. This boosts reusability…