코드에 나쁜 CodeSmell이 느껴진다면 Refactoring해야한다.

  • Duplicated code
  • Long method
  • Large class
  • Long parameter list
  • Divergent change
  • Shotgun Surgery
  • Feature envy
  • Primitive obsession
  • Switch statements
  • Parallel inheritance hierarchies
  • Lazy class
  • Speculative generality
  • Temporary field
  • Message chains
  • Middle man
  • Inappropriate intimacy
  • Alternative classes with different interface
  • Incomplete library class
  • Data class
  • Refused bequest
  • Comments

SeeAlso

CodeSmell (last edited 2012-06-12 14:07:46 by 61)

web biohackers.net