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.

3m read timeFrom dev.to
Post cover image
Table of contents
The problem: Shotgun SurgeryThe solution: Strategy PatternConclusion
3 Comments

Sort: