6 ms·
There are many application states in which `null` could mean "not got the data yet" and/or "there is no data". Just use an enum, it's much more expressive.
by samhh 5y ago
There are many application states in which `null` could mean "not got the data yet" and/or "there is no data".
Just use an enum, it's much more expressive.