Skip to content

Instantly share code, notes, and snippets.

@msanroman
Created February 6, 2013 21:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msanroman/4725921 to your computer and use it in GitHub Desktop.
Save msanroman/4725921 to your computer and use it in GitHub Desktop.
Smells mapped to SOLID principles

#SMELLS

  • Código duplicado: SRP
  • Métodos largos: SRP
  • Clases grandes: SRP
  • Listas de parámetros: DIP
  • Cambio divergente: SRP
  • Shotgun surgery: SRP
  • Envidia: SRP
  • Grupos/grumos de datos: OCP
  • Demasiadas primitivas: OCP
  • Switches: SRP
  • Evolución paralela: OCP
  • Clases huérfanas: SRP
  • Campos alienígenas: SRP
  • Cadenas de mensajes: OCP
  • Intermediario: ISP
  • Demasiada intimidad: OCP
  • Alternativas no homogéneas: OCP
  • Librerias incompletas: DIP
  • Clases datos: SRP
  • Herencia despreciada: LSP

No he sabido ubicar ni comentarios en el código, ni mal nombrado, ni generalización especulativa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment