From 762a95f9b53bfded12da5857f325703674bc10bc Mon Sep 17 00:00:00 2001 From: Ashton McGlone Date: Mon, 17 Feb 2025 15:29:57 -0500 Subject: [PATCH] Add 'Code_Smells_Patterns/Feature_Envy.md' --- Code_Smells_Patterns/Feature_Envy.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Code_Smells_Patterns/Feature_Envy.md diff --git a/Code_Smells_Patterns/Feature_Envy.md b/Code_Smells_Patterns/Feature_Envy.md new file mode 100644 index 0000000..5fa3da5 --- /dev/null +++ b/Code_Smells_Patterns/Feature_Envy.md @@ -0,0 +1,7 @@ +**Feature Envy** + +* Force: Refactoring may be possible when it is noticed that a certian object seems to have significantly more features than other objects it is interacting with. + +* Solution: It may be possible to had work off to some of these smaller objects. If the original object is reaching out to grab things that are much easier access and handled by the secondary object, than a consideration should be made to give that work to the secondary object. + +[Back to Index](./index.md) \ No newline at end of file