Design maxims

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 48: Line 48:
 
* [[No concrete base classes]]
 
* [[No concrete base classes]]
 
* [[No silver bullet]]
 
* [[No silver bullet]]
 +
* [[Once and only once]]
 
* [[One responsibility rule]]
 
* [[One responsibility rule]]
 
* [[Open closed principle]]
 
* [[Open closed principle]]
* [[Once and only once]]
+
* [[Option-operand separation]]
 
* [[Premature optimization]]
 
* [[Premature optimization]]
 
* [[Program to the interface not the implementation]]
 
* [[Program to the interface not the implementation]]

Revision as of 10:06, 5 October 2009

Contents

Object Oriented Design Maxims

maxim:: (noun) A general truth or rule of conduct expressed in a sentence.

Lets use the term maxim to mean all the rules, laws, guidelines, principles, heuristics, strategies, patterns and idioms that are named by a standard phrase.

Maxim Hierarchy - An attempt at creating a hierarchy of maxims can be found here.

Maxims

Clumps of Maxims

These are groups of Maxims, usually gathered by the developer(s) who proposed them.

Johnson and Foote's heuristics:

Riel's heuristics

  • All of Riel's heuristics can be found here.

Bob Martin's principles:

Ken Auer 1995:

Alan Davis 1995:

To be completed...

William Brown 1998:

See Also

Personal tools