It is actually a very good video for a beginner, like me, to understand the concept of variance in object oriented programming. I didn't find any resource yet with such a good explanation.
Goodness me, you explained it better than anything I've seen on this. I've seen variance topics in C# as well but nothing comes close. This makes it crystal clear to me. A huge like and subscribe. Thanks....
Ciao Riccardo! la explicación excelente, pero el acento italiano... meraviglioso!!! los oídos latinos agradecidos! "me gusta" , "suscripción" y "difusión"
May i know what's the purpose of contravariance? I know it reverse of subtype relationship.but i cant find any scenario that i might use contravariance
Because at runtime , what would happen if we have actually passed in a List to the function?. A List should not be able to add a Feline in it. A List can take in a Tiger and A Feline. But a List can only take a tiger. You can see that the Tiger is a valid data type is the only certain type that can be added to the list
I finally understand covariance and contravariance. Thank you so much!
It is actually a very good video for a beginner, like me, to understand the concept of variance in object oriented programming. I didn't find any resource yet with such a good explanation.
This is an excellent video on this topic. The accent is a bonus.
I am having a hard time understanding generic variances in Kotlin, this is an amazing explanation, Thank you.
holy shit you sir explained this better than anyone i know could have, that was amazing!
Thanks, I am very happy to know that it was useful and reasonably well done! :)
Goodness me, you explained it better than anything I've seen on this. I've seen variance topics in C# as well but nothing comes close. This makes it crystal clear to me. A huge like and subscribe. Thanks....
Code example is extremely helpful! Much better than all those dry articles I read on this topic. Subscribed.
thanks! and if guys have any suggestions on topics you would like to see, let me know!
Mille grazie for this superb explanation!
Excellent Explication!. It's wonderful to find this kind of Video.
So well explained. Fifth video i see on the subject and you made it clicked.
accent, jokes, apparte, explanations perfect :)
Awesome... Just awesome...
To the point and very clear explation.
Thank you very much sir.
your explaination is layman understandable. shown a impossibility and took us into the possibility of use of covariants... thanks
Good explications and very pleasant to watch!
just got hit with a ton of concise knowledge
Perfect explanation -- Thanks
Very clear explanation of very complex topic. Thank you for producing this
this was very helpful! Thanks a lot
Ciao Riccardo! la explicación excelente, pero el acento italiano... meraviglioso!!! los oídos latinos agradecidos! "me gusta" , "suscripción" y "difusión"
Soy brasileño y pensé que el es de India o algo así
gracias, mi proximo reto seria tratar de hacer algunos videos en español :)
Me pergunto o que você pensaria do meu português :P
Já estive no Brasil duas vezes pouco antes da pandemia... País incrível!
Great explanation. I was stumbled upon Kotlin docs explaining variance briefly but couldn't understand it there.
Great 👌
so geate explained !!!! thank you
Very good
great explanation -- thanks
Ty, very easy to follow and understand. Finally got it too.
thanks, it means a lot to me to know that I have helped someone to understand something !
Nice vid! Clear and concise !
good and deep explaintation thanks
thank you sir
May i know what's the purpose of contravariance? I know it reverse of subtype relationship.but i cant find any scenario that i might use contravariance
why
you can pass List to a function expecting a List
Because at runtime , what would happen if we have actually passed in a List to the function?. A List should not be able to add a Feline in it. A List can take in a Tiger and A Feline. But a List can only take a tiger.
You can see that the Tiger is a valid data type is the only certain type that can be added to the list
List