Substitutability

Substitutability

Substitutability is a principle in computer programming. It states that, if S is a subtype of T, then objects of type T in a computer program may be replaced with objects of type S (i.e., objects of type S may be "substituted" for objects of type T), without altering any of the desirable properties of that program (correctness, task performed, etc.).

This principle is often used in object-oriented computer programming.

ee also

* Liskov substitution principle
* Type signature


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • substitutability — noun see substitutable …   New Collegiate Dictionary

  • substitutability — See substitute. * * * …   Universalium

  • substitutability — noun the quality of being substitutable; the capacity to be substituted …   Wiktionary

  • substitutability — n. exchangeability, replaceability …   English contemporary dictionary

  • substitutability — sub·sti·tut·abil·i·ty …   English syllables

  • substitutability — noun exchangeability by virtue of being replaceable • Syn: ↑replaceability, ↑commutability • Derivationally related forms: ↑commutable (for: ↑commutability), ↑substitutable, ↑replaceable …   Useful english dictionary

  • Modularity — Module redirects here. For other uses, see Module (disambiguation). Modularity is a general systems concept, typically defined as a continuum describing the degree to which a system’s components may be separated and recombined.[1] It refers to… …   Wikipedia

  • Real estate economics — is the application of economic techniques to real estate markets. It tries to describe, explain, and predict patterns of prices, supply, and demand. The closely related fields of housing economics is narrower in scope, concentrating on… …   Wikipedia

  • Software as a service — (SaaS, typically pronounced sass ) is a model of software deployment where an application is hosted as a service provided to customers across the Internet. By eliminating the need to install and run the application on the customer s own computer …   Wikipedia

  • Interest rate parity — is a no arbitrage condition representing an equilibrium state under which investors will be indifferent to interest rates available on bank deposits in two countries.[1] Two assumptions central to interest rate parity are capital mobility and… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”