|
|
|
|
|
by hota_mazi
3430 days ago
|
|
> (you can either assume all Java calls are non-null unless checked, assume all Java calls are nullable and force checking, or trust annotations; all these approaches suck in their own way) Agreed, which is why Kotlin has explored all of these options and ending up implementing neither. Look up "platform types". |
|
> Platform types are non-denotable, meaning that one can not write them down explicitly in the language.