You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: