Add topic "Dart generics variance" Accepted
The requested resource couldn't be found.
Changes: 4
-
Add Dart declaration-site variance
- Title
-
- Unchanged
- Dart declaration-site variance
- Type
-
- Unchanged
- Web
- Created
-
- Unchanged
- 2019-12-19
- Description
-
- Unchanged
- A deep dive into an experimental feature
- Link
-
- Unchanged
- https://medium.com/dartlang/dart-declaration-site-variance-5c0e9c5f18a5
- Identifier
-
- Unchanged
- no value
Resource | v1 | current (v1) -
Add Dart generics variance
- Title
-
- Unchanged
- Dart generics variance
- Description
-
- Unchanged
- Covariant generics fit a common intuition that programmers have, and very often this intuition is correct, such as in the common “read-only” use of a generic. Although this intuition isn’t always correct, Dart is erring on the side of convenience by having covariant generics.
- Link
-
- Unchanged
- https://dart.dev/faq#q-why-are-generics-covariant
Topic | v1 | current (v1) -
Add Dart generics variance treated in Dart declaration-site variance
- Current
- treated in
Topic to resource relation | v1 -
Add Dart parent of Dart generics variance
- Current
- parent of
Topic to topic relation | v1