Better lambdas!!!!!!!!!!

anonymous via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 10 11:05:42 PDT 2015


On Thursday, 10 September 2015 at 17:55:06 UTC, Prudence wrote:
> Of course, this hides the names outside the lambda, but a 
> warning could be issued(no different than if one does it 
> explicitly.

This makes the parameter names part of the API. The author of a 
library is unable to rename parameter without breaking user code. 
I do not believe the benefit is large enough to accept such a 
drawback.


More information about the Digitalmars-d mailing list