Review Request: CR#8001634 : Initial set of lambda functional interfaces

Tim Peierls tim at peierls.net
Sat Nov 3 14:51:55 PDT 2012


On Sat, Nov 3, 2012 at 5:29 PM, Remi Forax <forax at univ-mlv.fr> wrote:

> Technically, you should not have to remember the name because
> when you write a lambda expression the name is not used by the function
> interface conversion.
>

Sounds like a reason to keep the method names the same! Why introduce name
diversity if no one will notice it in many cases?

Here's a similar case of not introducing diversity unnecessarily: We try,
as a matter of style, to keep formal parameter names the same when
implementing/overriding methods, even though we aren't required to.

Anyway, Predicate, Function, Procedure/Block/whatever usage is not
restricted to lambda expressions. There will still be a need to write these
method names.

--tim


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