Y
Hacker News
new
|
ask
|
show
|
jobs
by
samhh
1884 days 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.