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

ryotamurohoshi

05/28/2017, 4:35 PM
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

ilya.gorbunov

05/28/2017, 4:50 PM
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

benleggiero

05/28/2017, 4:52 PM
null safety
means
does not let you throw a Null-Pointer Exception unless you explicitly want to
r

ryotamurohoshi

05/28/2017, 5:14 PM
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

benleggiero

05/30/2017, 12:14 AM
Kotlin is a
null-safe
language; it is safe from the dangers of
null
.
9 Views