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 revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
principles:postel_s_law [2021-10-13 08:18] – old revision restored (2021-09-02 12:40) 194.209.25.108principles:postel_s_law [2021-10-18 21:42] – old revision restored (2013-06-22 20:41) christian
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 71: Line 79:
   * 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.txt · Last modified: 2021-10-18 21:43 by christian