User Tools

Site Tools


principles:postel_s_law

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
principles:postel_s_law [2021-10-13 08:18]
194.209.25.108 old revision restored (2021-09-02 12:40)
principles:postel_s_law [2021-10-18 21:43] (current)
christian +++ restored +++
Line 7: Line 7:
 ===== Context ===== ===== Context =====
 /* fill in contexts here: */ /* fill in contexts here: */
-  * [[contexts:Object-Oriented Design]] +  * [[contexts:Object-Oriented Design]] 
 +  * [[contexts:API Design]] 
  
  
Line 23: Line 25:
  
 ===== Strategies ===== ===== Strategies =====
 +
 +
 +===== Caveats =====
 +
 +See section [[#contrary principles]].
  
  
Line 45: Line 52:
  
 ==== Contrary Principles ==== ==== Contrary Principles ====
 +
 +  * [[principles:Fail fast]] (FF): While FF is (amongst others) about checking for erroneous parameters, Postel's Law is about not being too strict with parameters. It says that the design should allow for uncommon or strangely arranged (yet meaningful) input data. This does not contradict FF as Postel's Law does not demand to process meaningless or erroneous data.
  
 ==== Complementary Principles ==== ==== Complementary Principles ====
  
-  * [[principles:Rule Of Repair]] 
   * [[principles:Principle Of Least Surprise]]   * [[principles:Principle Of Least Surprise]]
  
Line 54: Line 62:
  
  
-===== Example =====+===== Examples =====
  
  
Line 70: Line 78:
   * Joel Spolsky: //[[http://www.joelonsoftware.com/articles/fog0000000306.html|A Hard Drill Makes an Easy Battle]]//   * Joel Spolsky: //[[http://www.joelonsoftware.com/articles/fog0000000306.html|A Hard Drill Makes an Easy Battle]]//
   * Eric S. Raymond: //[[http://www.catb.org/~esr/writings/taoup/html/ch01s06.html#id2878538|The Art of Unix Programming: Rule of Repair]]//   * Eric S. Raymond: //[[http://www.catb.org/~esr/writings/taoup/html/ch01s06.html#id2878538|The Art of Unix Programming: Rule of Repair]]//
 +
 +===== Discussion =====
 +
 +Discuss this wiki article and the principle on the corresponding [[talk:principles:Postel's Law|talk page]].
  
principles/postel_s_law.1634105920.txt.gz · Last modified: 2021-10-13 08:18 by 194.209.25.108