User Tools

Site Tools


wiki:wish_list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:wish_list [2013-02-28 21:53] – The Zen of Python christianwiki:wish_list [2013-10-23 22:48] (current) – [Places Where Further Principles May Hide] christian
Line 22: Line 22:
   * [[principles:Once And Only Once]] (OAOO) -- see [[principles:Don't Repeat Yourself|DRY]]   * [[principles:Once And Only Once]] (OAOO) -- see [[principles:Don't Repeat Yourself|DRY]]
   * http://en.wikipedia.org/wiki/Composition_over_inheritance   * http://en.wikipedia.org/wiki/Composition_over_inheritance
 +  * Fowler's First Law of Distributed Object Design (see "Patterns of Enterprise Pattlication Architecture p. 89") 
 +  * Form follows function
  
 ==== Places Where Further Principles May Hide ===== ==== Places Where Further Principles May Hide =====
Line 28: Line 29:
   * [[http://c2.com/cgi/wiki|Portland Pattern Repository]]   * [[http://c2.com/cgi/wiki|Portland Pattern Repository]]
     * [[principles:Don't Create Verb Classes]]     * [[principles:Don't Create Verb Classes]]
-    * [[principles:Don't Name Classes Object Manager Handler Or Data]]+    * [[principles:Don't Name Classes Object Manager Handler Or Data]] (see also Clean Code p. 25)
     * [[principles:Behavioral Completeness]] http://c2.com/cgi/wiki?PrinciplesOfObjectOrientedDesign     * [[principles:Behavioral Completeness]] http://c2.com/cgi/wiki?PrinciplesOfObjectOrientedDesign
     * [[principles:Principle of Essential Representation]] http://c2.com/cgi/wiki?PrinciplesOfObjectOrientedDesign     * [[principles:Principle of Essential Representation]] http://c2.com/cgi/wiki?PrinciplesOfObjectOrientedDesign
Line 45: Line 46:
     * http://programmer.97things.oreilly.com/wiki/index.php/Other_Edited_Contributions     * http://programmer.97things.oreilly.com/wiki/index.php/Other_Edited_Contributions
   * [[http://www.python.org/dev/peps/pep-0020/|The Zen of Python]]   * [[http://www.python.org/dev/peps/pep-0020/|The Zen of Python]]
 +  * Clean Code
 +    * LeBlanc's Law: Later equals never
 +    * Blocks should be one line long (p. 35)
 +    * Functtion names should not be just a restatement of the function implementation (p. 36)
 +    * Stepdown Rule (p. 136)
wiki/wish_list.1362084794.txt.gz · Last modified: 2013-05-19 22:10 (external edit)