- Overview
- Transcript
1.8 Feature Envy
When a method is more interested in a class different from the one it is a part of, it may be a case of feature envy.
1.Detecting Code Smells24 lessons, 3:11:12
24 lessons, 3:11:12
1.1Introduction00:56
1.1
Introduction
00:56
1.2Duplicated Code19:11
1.2
Duplicated Code
19:11
1.3Long Method07:49
1.3
Long Method
07:49
1.4Large Class10:21
1.4
Large Class
10:21
1.5Long Parameter List08:51
1.5
Long Parameter List
08:51
1.6Divergent Change12:52
1.6
Divergent Change
12:52
1.7Shotgun Surgery09:48
1.7
Shotgun Surgery
09:48
1.8Feature Envy03:22
1.8
Feature Envy
03:22
1.9Data Clumps11:05
1.9
Data Clumps
11:05
1.10Primitive Obsession11:43
1.10
Primitive Obsession
11:43
1.11Switch Statements09:30
1.11
Switch Statements
09:30
1.12Parallel Inheritance Hierarchies08:45
1.12
Parallel Inheritance Hierarchies
08:45
1.13Lazy Class06:34
1.13
Lazy Class
06:34
1.14Speculative Generality04:32
1.14
Speculative Generality
04:32
1.15Temporary Fields04:34
1.15
Temporary Fields
04:34
1.16Message Chains04:25
1.16
Message Chains
04:25
1.17Middle Man08:28
1.17
Middle Man
08:28
1.18Inappropriate Intimacy03:08
1.18
Inappropriate Intimacy
03:08
1.19Alternative Classes with Different Interfaces06:31
1.19
Alternative Classes with Different Interfaces
06:31
1.20Incomplete Library Class08:58
1.20
Incomplete Library Class
08:58
1.21Data Classes07:35
1.21
Data Classes
07:35
1.22Refused Bequest07:00
1.22
Refused Bequest
07:00
1.23Comments14:40
1.23
Comments
14:40
1.24Final Thoughts00:34
1.24
Final Thoughts
00:34
I had my first contact with computers in the mid-80s when I visited my father at work. Probably it was an important moment for what I am doing now. I am a proud member of an agile team working for a company called Syneto.
Through my carrier I programmed in several programming languages and I had the chance to learn and use daily all the major Agile techniques from Scrum to Lean and from TDD to DDD.
Since August 2012 I am sharing my knowledge with the Nettuts+ readers by articles, tutorials and premium courses, all about programming.





