3 ms·
Postel's law should not be applied so broadly, and certainly shouldn't be used as an argument against further validation of inputs. Garbage inputs are the resp
by notnullorvoid 2y ago
Postel's law should not be applied so broadly, and certainly shouldn't be used as an argument against further validation of inputs.
Garbage inputs are the responsibility of the sender, not the receiver. You can and should accept a small margin of error in inputs where errors may logically appear, but if the receiver accepts too much error then it becomes responsible by creating a complicit norm. If the responsibility of error remains on the sender then introducing further validation is less likely to cause breakage in communication.