Timeline for Is there a reason to prefer lambda syntax even if there is only one parameter?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 14, 2016 at 14:23 | comment | added | jk. | in what way does it tell you the type? certainly you can be explicit about the type of a lambdas parameter but its far from common to do that, and isnt done in this situation | |
| Dec 22, 2011 at 12:43 | comment | added | Tikhon Jelvis | I'm not in a C# person, but in the languages I've used with lambdas (JavaScript, Scheme and Haskell) people would probably give you the opposite advice. I think that just shows how good style is language-dependent. | |
| Dec 22, 2011 at 12:25 | comment | added | bunglestink | I'd prefer the labmda syntax for consistency with the cases where it is required. | |
| Dec 22, 2011 at 12:09 | history | answered | DeadMG | CC BY-SA 3.0 |