Re:Kotlin: The Problem with null
by dragonwriter on Friday January 12, 2018 @07:55PM
(#16137602)
Nulls can be nested if you are using a language with explicit pointer types.
E.g.,
Int*** x;
Can be a lot like
Maybe Maybe Maybe Int
It's just that in languages where a type like Integer really means “an integer or a null", the nullability doesn't nest, and no one wants to deal with naked pointers.
E.g.,
Can be a lot like It's just that in languages where a type like Integer really means “an integer or a null", the nullability doesn't nest, and no one wants to deal with naked pointers.