Re:Why nullable types?
by _28jh on Tuesday December 08, 2020 @09:02AM
(#25345159)
That's not possible with nullable types. The whole point of nullable types is to mark types that can be null. So this is possible:
But now it's not much different than this:
My point is that these are fundamentally the same thing. The only difference is syntax, ergonomics, and compiler support.
[ Parent
| on HN ]
There are no comments on this comment yet.