Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Variance #56

Open
jeremieSimon opened this issue Apr 8, 2015 · 0 comments
Open

Type Variance #56

jeremieSimon opened this issue Apr 8, 2015 · 0 comments

Comments

@jeremieSimon
Copy link

I would like to add a bit more details about the variance in the category "Type and Generics".
Specifically, a rule of thumb for when to use invariance, covariance and contravariance.
I think that the explanation provided for covariance and invariance is great but this section is missing an explanation on contravariance. I would like to contribute to this section and explain how and when to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant