Update 'Code_Smells_Patterns/index.md'

main
Ashton McGlone 8 months ago
parent 8253e5b9a9
commit f8ef669682

@ -2,11 +2,7 @@
**Code Smells** are often signs that refactoring could be needed. That is not always the case, but these "smells" should be looked at further to dethermine if there is a need for refactoring.
**Duplicated Code**
* 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.
[Duplicated Code](./Duplicated_Code.md)
**Excessive Conditionals**

Loading…
Cancel
Save