Hello, you have come here looking for the meaning of the word
contravariance. In DICTIOUS you will not only get to know all the dictionary meanings for the word
contravariance, but we will also tell you about its etymology, its characteristics and you will know how to say
contravariance in singular and plural. Everything you need to know about the word
contravariance you have here. The definition of the word
contravariance will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
contravariance, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
English
Etymology
From contra- + variance.
Pronunciation
Noun
contravariance (countable and uncountable, plural contravariances)
- (object-oriented programming) The reversal of the order of data types acted upon by an operator.
- Coordinate term: covariance
2005, Jesse Liberty, Visual C# 2005: A Developer's Notebook, O'Reilly Media, →ISBN, page 47:I get why with covariance I can return a Dog (a Dog is a Mammal), but why does contravariance work the other way? Shouldn't it accept a derived type when it expects a base type? Contravariance is consistent with Postel's Law: […]
- (category theory) A functor which reverses composition.
- (linear algebra) Of vectors, the property of scaling inversely with a change of basis, as opposed to covariance.
Translations
reversal of the order of data types acted upon by an operator
functor which reverses composition
Further reading
French
Pronunciation
Noun
contravariance f (plural contravariances)
- (object-oriented programming) contravariance
Further reading