Week 6

I learned that the habit of being strict with your own output but flexible with input has a cool name: Postel’s Law (or the Robustness Principle).

It states:

“Be conservative in what you do, be liberal in what you accept from others.”

It comes from Jon Postel’s early work on TCP specifications. Basically, send data that strictly follows the rules, but don’t crash if the data you receive is slightly off. Solid advice for API design.