3 ms·
The problem isn’t actually null perse, it’s an implicit null. E.g. it’s perfectly fine to say you might have an empty value via ‘Foo | null’ or ‘Foo?’ or with
by tybit 8y ago
The problem isn’t actually null perse, it’s an implicit null.
E.g. it’s perfectly fine to say you might have an empty value via ‘Foo | null’ or ‘Foo?’ or with something like null, ‘Maybe Foo’ but to sneak it into plain old ‘Foo’ is problematic (a billion dollars worth of problems).
- brazzy 8y agoI'd say the real problem is having nullability as the default for all types.