3 ms·
Some kind of an optional/variant type, enforced by the type system.
by cyberax 8mo ago
Some kind of an optional/variant type, enforced by the type system.
- p1necone 8mo agoOr if even that feels too verbose, just a 'nullable' modifier on the variable or field definition, with the default being not nullable. (Although Optional/Maybe types are definitely my preference based on the languages I've used)