2 ms·
Sadly, Kotlin, a language I otherwise like a lot, decided that Java generics were too complicated for normal people, and created a much less flexible version. F
by lokedhs 10y ago
Sadly, Kotlin, a language I otherwise like a lot, decided that Java generics were too complicated for normal people, and created a much less flexible version. For the typical case the syntax is easier to understand, but it's not possible to use the full power of the Java syntax.
What I'm saying is that the reason for this simplification is the same as the reason not many people use intersection types.