How Kotlin fixed Java's unsound arrays: invariance, covariance and contravariance in 3 minutes

  Рет қаралды 1,514

Fred Overflow

Fred Overflow

Күн бұрын

Пікірлер: 4
@huttarl
@huttarl Жыл бұрын
Thanks for this helpful video. After decades of dabbling in OOP, I'm finally getting serious with Kotlin and learning about variance. Your video explains better than the last one I tried. One helpful tip for non-native English speakers: the stress in "array" is on the *second* syllable. Since the first syllable is unstressed, its vowel has a schwa sound. Many Europeans stress the first syllable, which is wrong, and makes the word difficult to understand.
@aceattackk
@aceattackk Жыл бұрын
thanks for the informative videos. with your breadth of knowledge of programming languages how come you never code in scala?
@fredoverflow
@fredoverflow Жыл бұрын
I discovered Scala in 2012 and Kotlin in 2015. I never used Scala to its full potential; Kotlin was simply "good enough" for me, a Java++ or Scala-- if you will. I stopped using Scala in 2017, partly because the Eclipse plugin was just awful. I like Scala's new braceless syntax though 🙃
@Virus00000000000001
@Virus00000000000001 Жыл бұрын
Nice
Variance... without Generics!
9:01
Dave Leeds
Рет қаралды 7 М.
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 23 МЛН
Zig | Generic Data Structures | Tutorial 57
1:56
mike code
Рет қаралды 1
Reified Type Parameters
10:15
Dave Leeds
Рет қаралды 4 М.
Three Simple Rules for Subtypes
13:52
Dave Leeds
Рет қаралды 2,6 М.
Covariance and Contravariance
13:31
Christopher Okhravi
Рет қаралды 14 М.
Generics in Kotlin: Covariance and Contravariance
8:27
Type Projections... and why they work!
8:34
Dave Leeds
Рет қаралды 3,7 М.
Advanced Kotlin: Generics, Type Erasure, and Reflection Explained
23:00
Covariance vs Contravariance in Programming Languages
6:32
Code Radiance
Рет қаралды 9 М.
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34