3 ms·
> Besides, I’ve come to the conclusion that Java made the right call on array covariance in the first place. I'm actually curious to hear why the author thinks
by saagarjha 7y ago
> Besides, I’ve come to the conclusion that Java made the right call on array covariance in the first place.
I'm actually curious to hear why the author thinks this, because I've largely come to the opposite conclusion…
- tosh 7y agoDart's FAQ has an entry "Why are generics covariant?". Gilad Bracha was involved in Dart's early language design decisions. https://dart.dev/faq#q-why-are-generics-covariant https://dart.dev/faq#q-why-are-generics-covariant