Extension vs defender methods

Brian Goetz brian.goetz at oracle.com
Wed Nov 9 09:11:00 PST 2011


Slight correction on the terminology front, both are 'extension' methods.  There are a few axes of choice -- use-site vs declaration-site, virtual vs static.  

C# chose (use site, static) extension methods; we've chosen (declaration site, virtual) extension methods.  


On Nov 9, 2011, at 10:34 AM, Patrick Wright wrote:

> This discussion from last year may help:
> http://mail.openjdk.java.net/pipermail/lambda-dev/2010-December/002816.html
> 
> Brian Goetz responds in
> http://mail.openjdk.java.net/pipermail/lambda-dev/2010-December/002818.html
> 
> 
> HTH,
> Patrick
> 



More information about the lambda-dev mailing list