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

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

Philipp Lackner

1 год назад

16,517 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Alchemist10241
@Alchemist10241 - 27.01.2023 09:00

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

Ответить
@pierre.vieira
@pierre.vieira - 15.01.2023 00:12

Very nice 👍

Ответить
@manideepkota5189
@manideepkota5189 - 14.01.2023 21:32

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

Ответить
@MegaJosM
@MegaJosM - 14.01.2023 17:46

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

Ответить
@theophilus494
@theophilus494 - 14.01.2023 10:25

Your clips are making a lot of sense.. thanks

Ответить
@omarredani5580
@omarredani5580 - 14.01.2023 02:05

You are awesome

Ответить
@ahmadrezasariaslani4650
@ahmadrezasariaslani4650 - 13.01.2023 23:52

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.

Ответить
@umuttekin4967
@umuttekin4967 - 13.01.2023 18:13

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.

Ответить
@atlas6397
@atlas6397 - 13.01.2023 17:55

Thank you for this info

Ответить
@Denis0Kor
@Denis0Kor - 13.01.2023 16:52

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

Ответить
@mirchm
@mirchm - 13.01.2023 15:21

Short and to the subject. Thank you

Ответить
@heriawanfx
@heriawanfx - 13.01.2023 15:18

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

Ответить
@Snoootz
@Snoootz - 13.01.2023 15:08

first :O!

Ответить