Kevin Bourrillion kevinb at
Fri Sep 21 08:37:21 PDT 2012

On Fri, Sep 21, 2012 at 5:49 AM, Remi Forax <forax at> wrote:

Support them is the only realistic option, there are too many codes out
> there that put null in collections, otherwise it will seriously impede the
> adoption of lambdas.

You would think so, but take a look at how hard Guava is on nulls, and we
pretty much get away with it.

There are always plenty of strategies for fixing your code to not need to
put nulls into collections, and most of them leave the code better off.

I'm not taking a position on the issue, just saying the argument that we *
have* to support nulls doesn't hold water with me. So *what* if it "impedes
adoption" of lambdas a bit? Pleasing everyone all of the time isn't an
option anyway.

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