Open source reader

Wednesday, May 24, 2006

Code smells (stinks ?)

Here is an entry called Coding Horror: Code Smells you'll get
  • Code Smells Within Classes
  1. Comments
  2. Long method
  3. Long parameter list
  4. Duplicated code
  5. Conditional complexity
  6. Combinitorial Explision
  7. Large class
  8. Tyoe Embedded in Name
  9. uncommunicative Name
  10. Inconsistence Names
  11. Dead Code
  12. Speculative Generality
  13. Oddball Solution
  14. Temporary Field
  • Code Smells Between Classes
  1. Alternative Classes with Different Interfaces
  2. Primitive Obsession
  3. Data Class
  4. Data Clumps
  5. Refused Request
  6. Inappropriate Intimacy
  7. Indecent Exposure
  8. Feature Envy
  9. Lazy Class
  10. Message Chains
  11. Middle Man
  12. Divergent Change
  13. Shotgun Surgery
  14. Parallel Inheritance Hierarchies
  15. Incomplete Library Class
  16. Solution Sprawl

Happy reading !

0 Comments:

Post a Comment

<< Home