January 2020
Intermediate to advanced
532 pages
13h 31m
English
There are four different kinds of variance as described in computer science literature. We will first describe them in a formal manner first and then come back to do more hands-on exercises to reinforce our understanding.
Given that S is a subtype of T, there are four different ways to reason about the relationship between parametric types P{S} and P{T}:
When do we find variance useful? Perhaps not too surprisingly, variance is a key ingredient whenever ...
Read now
Unlock full access