Тёмный

Mainor 2022. Type variance in Java and Kotlin 

Ivan Ponomarev
Подписаться 2,6 тыс.
Просмотров 525
50% 1

If we compare a program to a building, then program's API is the foundation. It's impossible to underestimate the importance of flexible and convenient APIs for the maintainability of the code. And it's impossible to build such APIs without understanding of how to use type variance in type-parametrized classes and methods.
In this lecture we consider the full evolution of type variance in JVM world, starting from covariant arrays from the very first versions of Java, through Java wildcard types to Kotlin's declaration site and use-site variance. We will move from simple to complex examples to get a steady understanding of how and when to use type variance in your APIs.
Tallinn, May 16th 2022.
Slides: inponomarev.gi...

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Mainor 2022. Java Concurrency, Part 1
1:20:57
Mainor 2022. Java Concurrency, Part 2
1:29:01
#kikakim
00:10
Просмотров 10 млн
Mainor 2022: Java Streams & Optionals
1:32:27
Mainor 2022: Java Generics
1:28:29
Просмотров 612
Mainor 2022: Collections API
1:06:59
Просмотров 285
МФТИ Core Java 2020 Лекция 11
1:24:32
Просмотров 6 тыс.
МФТИ Core Java 2020 Лекция 10
1:09:41
Просмотров 6 тыс.
МФТИ Core Java 2020 Лекция 13
1:27:58
Просмотров 5 тыс.