4 ms·
Kotlin solves this problem nicely, assuming your codebase is all new or has been annotated with @Nullable/@NotNull https://kotlinlang.org/docs/reference/null-s
by pabl0rg 8y ago
Kotlin solves this problem nicely, assuming your codebase is all new or has been annotated with @Nullable/@NotNull
https://kotlinlang.org/docs/reference/null-safety.html https://kotlinlang.org/docs/reference/null-safety.html
- tigershark 8y agoIt doesn’t seem that nice to me compared to making it impossible to assign nulls everywhere, without the need of annotating anything.