Replies: 10 comments
-
#91 is probably the closest. |
Beta Was this translation helpful? Give feedback.
-
Good idea. I prefer the syntax for #91. |
Beta Was this translation helpful? Give feedback.
-
Do you have a proposed solution for handling nested lambdas? |
Beta Was this translation helpful? Give feedback.
-
It seems odd to propose a shorthand that saves typing var names = people.Select(p => p.Name); // even shorter than your "shortcut" |
Beta Was this translation helpful? Give feedback.
-
var names = people.Select(.Name); How short can we go? 😄 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
var names = people select Name; |
Beta Was this translation helpful? Give feedback.
-
@DavidArno I did that to demonstrate what the return value should be.
@yaakov-h Like |
Beta Was this translation helpful? Give feedback.
-
var names = people.!Name; |
Beta Was this translation helpful? Give feedback.
-
I personally think the introduction of this/these syntaxes will make the language harder to read. I don't think it is worth the slightly shorter typing, that a developer has to do. I like the concept, but I don't really think it's worth it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sure there is already a proposal out there for this somewhere. What I have is mind is having the compiler recognize
as shorthand for
Can someone link me to such a proposal? If there isn't already one, I'll expand this one.
Beta Was this translation helpful? Give feedback.
All reactions