Design maxims

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(add messahe chain smell)
(Maxims: add law of leaky abstractions)
Line 38: Line 38:
 
* [[Keep it simple]]
 
* [[Keep it simple]]
 
* [[Law of Demeter]]
 
* [[Law of Demeter]]
 +
* [[Law of leaky abstractions]]
 
* [[Liskov substitution principle]]
 
* [[Liskov substitution principle]]
 
* [[Model the real world]]
 
* [[Model the real world]]
Line 60: Line 61:
  
 
'''Clumps of maxims'''
 
'''Clumps of maxims'''
 +
 
=== [[Johnson and Foote's heuristics]]:===
 
=== [[Johnson and Foote's heuristics]]:===
 
** [[Recursion introduction]]
 
** [[Recursion introduction]]

Revision as of 00:50, 8 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