Bob Martin's principles
From CSSEMediaWiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
'''Bob Martin's Principles of OOD''' | '''Bob Martin's Principles of OOD''' |
Revision as of 02:44, 20 August 2008
Bob Martin's Principles of OOD
Martin does not claim to have invented the ideas he writes about, but he is amolng their foremost articulators.
Martin's articles can be found in the resources section of [Mentor].
Contents |
Principles of class design
- (SRP) The Single responsibility principle
- (OCP) The Open closed principle
- (LSP) The Liskov substitution principle
- (ISP) The Interface segregation principle
- (DIP) The Dependency inversion principle
The five principles above are known as SOLID (from their first letters).
Principles of package cohesion
- (REP) The Reuse release equivalence principle
- (CCP) The Common closure principle
- (CRP) The Common reuse principle
Principles of package coupling
- (ADP) The Acyclic dependencies principle
- (SDP) The Stable dependencies principle
- (SAP) The Stable abstractions principle
See also
- Bob Martin
- A very nice presentation from Bob Martin on the SOLID principles:[Principles of Agile Designs]
- [Principles Of Object Oriented Design] for examples.