Created
July 11, 2016 09:27
-
-
Save simpleprogrammer-shared/5e5833e008958540e1464d4f5ef8e1a9 to your computer and use it in GitHub Desktop.
Types of Duplication in Code 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void GoForRun() | |
{ | |
GetDressed(); | |
Run(); | |
Shower(); | |
} | |
public void LiftWeights() | |
{ | |
GetDressed(); | |
Lift(); | |
Shower(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment