3 ms·
Lambdas and LINQ has made this much simpler: var foo = (param, anotherParam)=>{ /* do stuff */};
by douche 11y ago
Lambdas and LINQ has made this much simpler:
var foo = (param, anotherParam)=>{ /* do stuff */};
- erdeszt 11y agoExcept that this is not working. You have to explicitly type lambdas if you assign them to local variables(or to properties, fields). But I don't see it as big trouble though.
- douche 11y agoWhoops, you're right. Most of the time I'm using them for LINQ filters or maps, or doing quick and dirty event handler delegates. So basically JQuery-esque usage, except with types.