Reading Refactoring book
Today I continued to read the Martin Fowler's book "Refactoring". In chapter 3 he speaks with Kent Beck about "Bad smells in code". Here is the list of bad smells:
- Duplicate code
- Long Method
- Large Class
- Long Parameter List
- Divergent Change
- Shotgun Surgery
- Feature Envy
- Data Clumps
- Primitive Obsession
- Switch Statements
- Parallel Inheritance Hierarchies
- Lazy Class
- Speculative Generality
- Temporary Field
- Message Chains
- Middle Man
- Inappropriate Intimacy
- Alternative Classes with Different Interfaces
- Incomplete Library Class
- Data Class
- Refused Bequest
- Comments



0 Comments:
Post a Comment
<< Home