4 ms·
No, because Option/Maybe can nested, nulls can't.
by simon_o 9y ago
No, because Option/Maybe can nested, nulls can't.
- dragonwriter 9y agoNulls 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.