The problem: Shotgun Surgery Shotgun Surgery is a code smell where making any modifications requires making many small changes to many different places. With this solution, we simply need to add a new strategy class, and we don't need to modify any of the existing code. By doing so, we're satisfying S.O.L.
3 Comments
Sort: