Design maxims

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(added Data Class smell)
Line 107: Line 107:
 
** [[Switch statement smell]]
 
** [[Switch statement smell]]
 
** [[Parallel inheritance hierarchies smell]]
 
** [[Parallel inheritance hierarchies smell]]
 +
** [[Data class smell]]

Revision as of 10:32, 6 October 2008

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.

Maxims

Clumps of maxims

Johnson and Foote's heuristics:

Riel's heuristics

Bob Martin's principles:

Ken Auer 1995:

Code smells:

Personal tools