March 11, 2019 Re: do D support something like C# 4.0 co/contra-variance? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Reque | On Friday, 15 October 2010 at 12:49:33 UTC, Sean Reque wrote:
> Java doesn't have variant generic type parameters. Wildcard types in Java are NOT the same thing and are certainly not more powerful.
Yes, and it is seen as a nuisance in the Java world. Newer JVM languages such as Kotlin and Scala do not suffer from this problem.
|
Copyright © 1999-2021 by the D Language Foundation