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

Next revision
Previous revision
Next revisionBoth sides next revision
principles:postel_s_law [2012-12-17 23:19] – created christianprinciples:postel_s_law [2013-05-19 22:09] – external edit 127.0.0.1
Line 10: Line 10:
  
  
-===== Definition =====+===== Principle Statement =====
  
 > "Be conservative in what you do, be liberal in what you accept from others."((Jon Postel: //[[http://tools.ietf.org/html/rfc761|RFC 761: Transmission Control Protocol]]//)) > "Be conservative in what you do, be liberal in what you accept from others."((Jon Postel: //[[http://tools.ietf.org/html/rfc761|RFC 761: Transmission Control Protocol]]//))
Line 20: Line 20:
 ===== Rationale ===== ===== Rationale =====
  
 +
 +
 +===== Strategies =====
 +
 +
 +===== Caveats =====
 +
 +See section [[#contrary principles]].
  
  
Line 27: Line 35:
 ===== Evidence ===== ===== Evidence =====
 /* Comment out what is not applicable and explain the rest: */ /* Comment out what is not applicable and explain the rest: */
-/*[[wiki:Proposed]] +/
-[[wiki:Examined]] +  * [[wiki:Proposed]] 
-[[wiki:Accepted]] +  [[wiki:Examined]] 
-[[wiki:Questioned]]*/+  [[wiki:Accepted]] 
 +  [[wiki:Questioned]] 
 +*/
  
  
Line 40: Line 50:
  
 ==== 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 49: Line 60:
  
  
-===== Example =====+===== Examples =====
  
  
Line 65: Line 76:
   * 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]]//
 +
principles/postel_s_law.txt · Last modified: 2021-10-18 21:43 by christian