https://kotlinlang.org logo
#announcements
Title
# announcements
r

robstoll

12/12/2016, 4:30 PM
@okkero I understand that
List<out Any?>
translates to
List<?>
which is equivalent to
List<? extends Object>
which basically means you can read from it but not write to it. In contrast to List from which you can read and write. Therefore,
List<?>
would be more restrictive than List and in this sense nearer to what List<Nothing> defines. But well... I guess the language designers wanted to have a distinction in java code as well and thus chose a raw type