Vítejte na blog.vyvojar.cz Přihlásit | Registrovat | Pomoc

Ars programatica

Udělat dobrý sotware je řemeslo, udělat výjimečný software je umění
Jeremy Miller : Cohesion And Coupling

Zajímavý článek od Jeremy Millera Cohesion And Coupling vyšel již před časem v MSDN Magazine.

Obsah

  • Decrease Coupling
  • Increase Cohesion
  • Eliminate Inappropriate Intimacy
  • The Law of Demeter
  • Tell, Don't Ask
  • Say It Once and Only Once
  • Wrapping Up 

Základní principy

  1. Keep things that have to change together as close together in the code as possible.
  2. Allow unrelated things in the code to change independently (also known as orthogonality).
  3. Minimize duplication in the code.

 

Posted: Wednesday, May 13, 2009 2:03 PM by pbouda
Vedeno pod: ,

Komentář

PF napsal:

jj, taky Jeremyho blog patri do kategorie 'must subscribe' ;-)

http://codebetter.com/blogs/jeremy.miller/

# May 16, 2009 6:47 PM
Nejsou povoleny nové komentáře k tomuto příspěvku