In computing, the robustness principle is a general design guideline for software:
- Be conservative in what you do, be liberal in what you accept from others (often reworded as "Be conservative in what you send, liberal in what you accept").
The principle is also known as Postel's law, after Internet pioneer Jon Postel, who wrote in an early specification of the Transmission Control Protocol that:
- TCP implementations should follow a general principle of robustness: be conservative in what you do, be liberal in what you accept from others.
In other words, code that sends commands or data to other machines (or to other programs on the same machine) should conform completely to the specifications, but code that receives input should accept non-conformant input as long as the meaning is clear.
Read more about Robustness Principle: Interpretation
Famous quotes containing the word principle:
“The principle of avoiding the unnecessary expenditure of energy has enabled the species to survive in a world full of stimuli; but it prevents the survival of the aristocracy.”
—Rebecca West (18921983)