by tomp · 13y ago · 0 comments
I'm sure this makes sense and is well-though-out, but I just can't understand it. What difference does it make if `Dog < Animal` are classes or types? Still any dog is an animal and not any animal is a dog. Or am I missing something?
[1] http://en.wikipedia.org/wiki/Covariance_and_contravariance_(...