Hacker News new | ask | show | jobs
by tsimionescu 2443 days ago
To be pedantic, Java perfectly encodes the information that a piece of data can be missing - any type supports null as a valid value. What it can't do is encode the information that a piece of data CAN'T be missing.
1 comments

To be even more pedantic, Java's primitive types (int instead of Integer etc.) have this feature. They can't be null.