delegates, lambdas and functions pitfall

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 5 05:31:17 PDT 2016


Dne 5.9.2016 v 14:30 Daniel Kozak napsal(a):

>
>
> Dne 5.9.2016 v 14:15 dom via Digitalmars-d-learn napsal(a):
>> ...
>> but what is the difference between a lambda (=>) and a 
>> functions/delegates?
>> i think this is a major pitfall for newcomers, and should be adressed 
>> somehow.
> Yes, RTFM :)
But to be fair I have made this mistake myself many times :)


More information about the Digitalmars-d-learn mailing list