I agree the words `Kotlin has features for null sa...
# announcements
r
I agree the words
Kotlin has features for null safety
or
Kotlin is langage that has null safety characteristic.
But I have question with words of
Kotlin is null safety language
or
Kotlin has null safety.
i
ryotamurohoshi:
Null safety is a feature of Kotlin
.
Kotlin has null safety
also sounds correct. You can read more about null safety here: https://kotlinlang.org/docs/reference/null-safety.html
b
null safety
means
does not let you throw a Null-Pointer Exception unless you explicitly want to
r
I read it many times. I thought there is no definition for null safety. (I thought there are features description to manage null well in Kotlin) But I read and thought again, The definition of
null safety
is that `Type system to eliminate NullPointerException (except special case). Isn't it?
By the way, now I think
Null safety is a feature of Kotlin.
and
Kotlin has null safety
sounds correct. But I have question the word of
Kotlin is null safety language.
I think
null safety definition
are difference between languages.
Thanks!
b
Kotlin is a
null-safe
language; it is safe from the dangers of
null
.