Virtual extension methods -- a strawman design

Neal Gafter neal at gafter.com
Sat May 15 11:14:47 PDT 2010


On Sat, May 15, 2010 at 11:01 AM, Brian Goetz <brian.goetz at oracle.com>wrote:

> >>   forEach or map or filter are so common that I don't see why
> >> they will not be added to the JDK.
> >
> > I can think of many reasons.  Here's one: there is a major design
> decision
> > about these kinds of methods that has been unexplored.
>
> One of the reasons it has been left unexplored is that it was not possible
> without breaking compatibility, so any such exploration would have been
> moot.
>  And many of the mechanisms for allowing binary compatible interface
> evolution were unacceptable for various reasons.
>

I'm troubled by the fact that a language proposal is being seriously
considered without that exploration.


> The technical points you raise are great discussions to have, and I welcome
> them.
>

I expect that I will want to raise those points in response to the
particular APIs that you suggest in response to my previous questions.

Cheers,
Neal


More information about the lambda-dev mailing list