What is the IN Keyword Used For in Kotlin? (Generics)

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

This type of content provides more useful knowledge than any 200 hours course on udemy

josem
Автор

I think it's a good idea to make a comprehensive video about declaration-site variance and type projections and explain why we should use them and what happens in type erasers at compile time that we need to use in and out to help the compiler understand what it should do.

ahmadrezasariaslani
Автор

a little hint about out keyword at the end, explains it perfectly, this video is like two short videos.

Alchemist
Автор

Awesome explanation in under a min. Thank you for creating this always had a confusion about this.

manideepkota
Автор

Your clips are making a lot of sense.. thanks

theophilus
Автор

Now, I know that keyword from this video.😅 Keep make other great videos like this.

heriawanfx
Автор

Hi, is there any different use-case for IN and OUT? Because in my project people use these keywords even they have no relation with sub or supertypes. What else these keywords could be used for? Maybe preventing some usages? And thank you for the video again. You explained very well like OUT keyword.

umuttekin
Автор

Next we need tip about "out" keyword)))

DenisKor