Virtual extension methods: don't call them defender methods, please
David Flanagan
david at davidflanagan.com
Wed Jun 16 11:51:52 PDT 2010
Brian,
I'm not qualified to comment on the technical aspects of this proposal,
but I did want to point out that the "public defender" metaphor only
works in the US and if the name "defender method" sticks, it will be a
mystery to most of the world.
Given that Java is not likely to have both static and virtual extension
methods, I think these could more simply be called "extension methods".
And given that your proposal points out that they can be used not as
extensions but as an alternative to abstract classes, an even simpler
name would be "default methods".
David Flanagan
P.S. I'm assuming that my post to lambda-dev will be rejected since I'm
not a subscriber, so I've cc'ed you directly.
More information about the lambda-dev
mailing list