Devoxx - filter, partition and offset
Richard Bair
richard.bair at oracle.com
Wed Apr 3 07:22:58 PDT 2013
On Apr 3, 2013, at 4:36 AM, Stephen Colebourne <scolebourne at joda.org> wrote:
> It didn't come up in the Devoxx lab, but I found the filter() method
> confusing when reading code in the talks. It was not obvious to me
> whether it was filtering in or out.
I've been working with groovy recently (gradle build script) and their use of " filter" equally confused me for the same reason. I can't tell you off the top of my head whether true means to keep or filter in groovy, but I think it means to keep. Alternate names is a good idea.
More information about the lambda-dev
mailing list