codebases that don't include any unannotated Java,...
# announcements
k
codebases that don't include any unannotated Java, or use dependencies with unannotated Java, are NPE-safe unless you use
!!
. In practice, I've never seen a Kotlin codebase that fits these constraints though, which is why I'd love to see a compiler option to treat platform types as nullable types