Named lambdas (was Re: Serialization stability and naming (and	syntax))
    Brian Goetz 
    brian.goetz at oracle.com
       
    Tue Oct  9 10:26:27 PDT 2012
    
    
  
> Okay, so the benefits of user-provided names seem to be
> 
> - More readable toString and stack traces than the auto-provided name (lambda#8 or whatever)
> - A very small (as noted by Brian) potential to make serialization usable across code changes in a few more situations
> - It should apparently help hot-swapping to be usable in a few more situations
> 
> Anything else?
Even more indirectly, potentially useful for recursive lambdas (not in 8) or nonlocal returns (not in 8).  
    
    
More information about the lambda-spec-experts
mailing list