Question: What is the difference between the code smells called Divergent Change and Shotgun Surgery? Divergent Change: Making one change to a class requires changes to

What is the difference between the code smells

What is the difference between the code smells called "Divergent Change" and "Shotgun Surgery"? Divergent Change: Making one change to a class requires changes to many different methods in that same class. Shotgun Surgery: Making one change to your program requires many small changes to many different classes. Divergent Change: Many methods that require the same change. Shotgun Surgery: Many classes that require different changes. Divergent Change: One change in functionality requires many different changes to the code.. Shotgun Surgery: Making one change to your program requires the same change to be made over and over

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!