3 ms·
> Realistically, it's no different, checking if something is null or None. That is correct. However, what languages with null lack is a way to say "See this S
by mrkeen 3y ago
> Realistically, it's no different, checking if something is null or None.
That is correct. However, what languages with null lack is a way to say "See this String here? This is actually a String - not the absence of a String".
It is nonsense to encode both A and lack-of-A as A.
- 0x457 3y agoYeah, and it's annoying. One of my most hated things about proto3 - is this string empty or just not set? (they added optional back now, but everything is already optional)