Primitive streams and optional

Tim Peierls tim at peierls.net
Tue Nov 27 07:33:38 PST 2012


On Tue, Nov 27, 2012 at 10:27 AM, Doug Lea <dl at cs.oswego.edu> wrote:

> Tim: I love Optional with Value types. Vastly better than boxing.
> I hate it as a half-object/half-value compromise.
> If/when Java supports true value types, I will be first in
> the "let's do Optional right" line.
> But until then, I'm still dead set against it.


I know. To me, though, this is another case of perfect being the enemy of
the good.

--tim


More information about the lambda-libs-spec-observers mailing list