3 ms·
> but having nullable types is a real mistake to me. Nullable types by themselves are fine, the language and the compiler just needs to make handling “is X nul
by DaiPlusPlus 8y ago
> but having nullable types is a real mistake to me.
Nullable types by themselves are fine, the language and the compiler just needs to make handling “is X null?” work the same way as option types do - or better yet: languages were a variable is only in scope if it is not null.
- deleted 8y ago[deleted]
- hombre_fatal 8y agoYeah, nullable types are one thing. Go's null interface is another: https://play.golang.org/p/N_3BiUOkRJo https://play.golang.org/p/N_3BiUOkRJo It's probably the first and last to have this quirk.