Hacker News new | ask | show | jobs
by lupire 1389 days ago
If I care about apples (for my lunch, or my store), I care about the difference between having 0 of them and not having bothered to count yet.

0!=null

1 comments

If no apples is the unusual state, like you expected to find an apple in your lunchbox but someone ate it without your knowledge, then certainly there would be reason to communicate the no apples state. It is ignored in communication when it does not provide useful information, but it is not forgotten. The 0th index is implicitly there.
Come to the infinity store - we literally sell everything! (some items may be out of stock)
Yes, the infinite state is also implicitly found within the state set. Conveniently found at the infinity index.