From 6b73aafa74c5c529a81553f0b933b3e765416fc9 Mon Sep 17 00:00:00 2001 From: Ashton McGlone Date: Mon, 17 Feb 2025 15:22:24 -0500 Subject: [PATCH] Update 'Code_Smells_Patterns/Duplicated_Code.md' --- Code_Smells_Patterns/Duplicated_Code.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Code_Smells_Patterns/Duplicated_Code.md b/Code_Smells_Patterns/Duplicated_Code.md index 713784f..b1888f4 100644 --- a/Code_Smells_Patterns/Duplicated_Code.md +++ b/Code_Smells_Patterns/Duplicated_Code.md @@ -3,3 +3,6 @@ * Force: Refactoring may be considered if a common structure is recongized among related methods. * Solution: It may be possible to generalize smaller methods to allow them to work as one. However, you must be careful to not over generalize a method and allow it to have more power than nessecary. A good metric to measure by is that a method should have between 6-8 meaningful lines of code. + + +[Back to Index](./index.md) \ No newline at end of file