Optional != @Nullable
Zhong Yu
zhong.j.yu at gmail.com
Sun Sep 30 23:55:44 PDT 2012
On Sun, Sep 30, 2012 at 6:42 PM, Jed Wesley-Smith
<jed.wesleysmith at gmail.com> wrote:
> Nothing has so far been successful. Option has a track record of success.
There hasn't been a standard @Nullable; it's unfair to say it wouldn't
succeed. If javac issues warning based on @Nullable, many programmers
would try to fix the code to remove the warning.
Option<> does have more coercive power than @Nullable, but that can
also be a negative thing that turns some API authors away from it.
Zhong Yu
More information about the lambda-dev
mailing list