Laws · Tech and product
Postel's law
Be strict in what you send and forgiving in what you accept from others.
In real life
A good postman delivers a letter with a smudged postcode. But when you post one, you write the address clearly.
In data and work
Data pipelines that quietly accept messy input keep running, but the mess spreads downstream. Strict output plus flagged, logged exceptions on input works better.
Watch out
Tolerating other people's mistakes can lock those mistakes in as the real standard, and can open security holes.
Jon Postel wrote the principle into the 1979 IPv4 specification and the early TCP specification, RFC 761, in 1980. It is also called the robustness principle. In 2023 RFC 9413 argued it can reduce robustness.
Source: Wikipedia
Related
Link to this law: davidcarr.me/laws/postels-law · All 74 laws