Return types array/list/stream [was: API question for point lambdafication]

Patrick Wright pdoubleya at gmail.com
Wed Feb 20 08:54:24 PST 2013


Stephen,


think, like all new features, there is a danger of over-use. Laying
> down some guidelines on usage is a Good Thing IMO. Stream really
> shouldn't be the default return type - List is frequently much more
> useful to clients.
>
> For the record, can you tell us exactly why (perhaps with code examples)
you feel that "list is...more useful to clients?"

Thanks,
Patrick


More information about the lambda-dev mailing list