as-if rule
noun
- A rule by which compilers are allowed to apply any optimizing transformation to a program provided that it makes no change to the observable behavior of the program.
Origin
Origin uncertain.
See also Postel's law halting problem open-closed principle Liskov substitution principle
Adapted from Wiktionary (CC BY-SA 4.0).