Implementing recursive lambda with MethodHandle
Neal Gafter
neal at gafter.com
Mon Feb 22 11:48:08 PST 2010
On Mon, Feb 22, 2010 at 11:28 AM, Joshua Bloch <jjb at google.com> wrote:
> Yes, but it uses an (ugly) anonymous class initialization expression. The
> whole idea of this JSR is to eliminate the need for these beasts.
>
That is definitely not the idea of this JSR. We are not "eliminating" the
need for anonymous inner classes. We are providing a good alternative for a
huge number of use cases. These recursive functions are a vanishingly small
fraction of the identified use cases.
More information about the lambda-dev
mailing list