Mike Ash personal blog

Covariance and Contravariance

Subtypes and supertypes are a common part of modern programming. Covariance and contravariance tell us where subtypes are accepted and where supertypes are accepted in place of the original type. This shows up frequently in most of the programming most of us do, but many developers are unaware of the concepts beyond a…
Points
156
HN comments
67
Submissions
1
Cited by
0 commenters

Software Engineering2015

On Hacker News

SubmittedTitle on HNPointsComments
Nov 21, 2015Covariance and Contravariance by marvel_boy15667

More from Mike Ash

All 14 posts →

Related posts from the same era