32 ms·
> but without the verbosity of an Optional or Maybe type Without the safety of having that encoded in the type system.
by maweki 4y ago
> but without the verbosity of an Optional or Maybe type
Without the safety of having that encoded in the type system.
- ackfoobar 4y ago`T` and `T?` being different types is encoding in the type system. It is a different encoding, though.
- wollef 4y agoNo, Kotlin/TS do the same thing with different syntax. See https://kotlinlang.org/docs/null-safety.html#safe-calls https://kotlinlang.org/docs/null-safety.html#safe-calls (TS is basically the same)