From 3f24d1480f5ece420fa105d3fdb8c70209f12337 Mon Sep 17 00:00:00 2001 From: Manuel Rivero Date: Sat, 7 Dec 2024 17:25:13 +0100 Subject: [PATCH] Fixing error in shotgun surgery comparison to Solution Sprawl --- content/smells/shotgun-surgery.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/smells/shotgun-surgery.md b/content/smells/shotgun-surgery.md index c8b5ca9e..3b3a791c 100644 --- a/content/smells/shotgun-surgery.md +++ b/content/smells/shotgun-surgery.md @@ -74,7 +74,7 @@ history: Similar to [Divergent Change](./divergent-change.md), but with a broader spectrum, the smell symptom of the _Shotgun Surgery_ code is detected by the unnecessary requirement of changing multiple different classes to introduce a single modification. Things like that can happen with the failure to use the correct design pattern for the given system. This expansion of functionality can lead to an easy miss (and thus introduce a bug) if these small changes are all over the place and they are hard to find. Most likely, [too many classes](./oddball-solution.md) solve a simple problem. -Joshua Kerievsky noted this smell as _Solution Sprawl_ [[1](#sources)]. Monteiro stated that the tiny difference between these two comes from how they are sensed. In the [Divergent Change](./divergent-change.md), one becomes aware of the smell while making the changes, and in the _Solution Sprawl_, one is aware by observing the issue. [[2](#sources)] +Joshua Kerievsky noted this smell as _Solution Sprawl_ [[1](#sources)]. Monteiro stated that the tiny difference between these two comes from how they are sensed. In the _Shotgun Surgery_, one becomes aware of the smell while making the changes, and in the _Solution Sprawl_, one is aware by observing the issue. [[2](#sources)] ### Causation