Lightweight interfaces instead of function types

Reinier Zwitserloot reinier at zwitserloot.com
Fri Feb 19 15:13:48 PST 2010


On Fri, Feb 19, 2010 at 7:15 PM, Stephen Colebourne <scolebourne at joda.org>wrote:

>
> Again, its a trade-off. The benefit for ParallelArray is that
> Predicate or Transformer is IMO more meaningful to someone just
> casually coming to the API than a random function type.
>
>
+1

I'm still not entirely clear on the obsession of getting rid of _every_ type
listed in ParallelArrays' Ops.java. DoubleMaxReducer as well as
IntMaxReducer, that does feel rather awkward, but having a concept called a
MaxReducer in the first place, that seems to mostly be a force for good.


More information about the lambda-dev mailing list