Replies: 7 comments 20 replies
-
Beta Was this translation helpful? Give feedback.
-
Pluto is classified as dwarf planet since 2006. The corresponding enum value should be obsoleted in real world. |
Beta Was this translation helpful? Give feedback.
-
That's a result I am glad to hear about. They are the most common form of "unions of related types" along with enums ("unions of related values"), implementing exhaustiveness checks constrains the remaining design space for DUs practically to "monadic stuff people like from FP" and "easy unions of unrelated types", both of which come with their own baggage listed in the presentation (monadic sugar and interchangeability respectively), with "performant unions of unrelated types" a distant third. |
Beta Was this translation helpful? Give feedback.
-
As I saw you guys mentioned @gafter's enum proposals in the notes- I thought I'd point out that the patents on enums that may have impacted the design space here in C# have now expired: https://patents.google.com/patent/US7263687B2/en |
Beta Was this translation helpful? Give feedback.
-
Apologies for all the typos and incorrect autocorrects in the slide notes. The slides did not originally have the notes, and I scrambled to add them later. |
Beta Was this translation helpful? Give feedback.
-
The github repro used for experimenting with different implementations is here: |
Beta Was this translation helpful? Give feedback.
-
I don't quite understand why Performant and Expressive are incompatible.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-03-27.md
https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-03-27-presentation.pdf
Agenda
Beta Was this translation helpful? Give feedback.
All reactions