Robustness principle: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Add: doi, volume, s2cid. | Use this bot. Report bugs. | Suggested by Abductive | Category:Computer architecture statements | #UCB_Category 15/28
No edit summary
Tags: Mobile edit Mobile web edit
Line 4:
In other words, programs that send messages to other machines (or to other programs on the same machine) should conform completely to the specifications, but programs that receive messages should accept non-conformant input as long as the meaning is clear.
 
Among programmers, to produce [[Liskov substitution principle|compatible functions]], the principle is also known in the form: be [[contravariant (programming)|contravariant]] in the input type and [[covariant (programming)|covariant]] in the output type.
 
== Interpretation ==