Replies: 5 comments 10 replies
-
Out of all of those brainstormed dictionary syntaxes, while there isn't a clear winner, I do feel that |
Beta Was this translation helpful? Give feedback.
-
Was the following syntax considered? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It would be nice if there were some way to specify a context to avoid having to put For example, I'd want to be able to say something like this: with(StringComparer.InvariantCultureIgnoreCase, [
"en": [ "one": 1, "two": 2, "three": 3, ... ],
"es": [ "uno": 1, "dos": 2, "tres": 3, ...],
"it": [ "uno": 1, "due": 2, "tre": 3, ...],
]) instead of something like this: [with(StringComparer.InvariantCultureIgnoreCase)
"en": [with(StringComparer.InvariantCultureIgnoreCase)
"one": 1, "two": 2, "three": 3, ... ],
"es": [with(StringComparer.InvariantCultureIgnoreCase)
"uno": 1, "dos": 2, "tres": 3, ...],
"it": [with(StringComparer.InvariantCultureIgnoreCase)
"uno": 1, "due": 2, "tre": 3, ...],
]) |
Beta Was this translation helpful? Give feedback.
-
Does the design team still ultimately want extensions that allow adding new interface implementations to existing types? It seems to me adopting the parameter-based receiver approach will make this more difficult in the future (see my comment here). However maybe the design team have another plan? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-11-20.md
Agenda
Beta Was this translation helpful? Give feedback.
All reactions