Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What if null was an Object in Java?. Parent comment
Every non-primitive is nullable in Java. Adding Optional doesn't/can't change that.
You can have a gentlemen's agreement to prefer None to null.
There are no comments on this comment yet.
Every non-primitive is nullable in Java. Adding Optional doesn't/can't change that.
You can have a gentlemen's agreement to prefer None to null.