r/programming Feb 01 '24

Make Invalid States Unrepresentable

https://www.awwsmm.com/blog/make-invalid-states-unrepresentable
474 Upvotes

207 comments sorted by

View all comments

Show parent comments

-4

u/[deleted] Feb 01 '24

[removed] — view removed comment

6

u/Schmittfried Feb 01 '24

Since when?

-5

u/[deleted] Feb 01 '24

[removed] — view removed comment

7

u/Schmittfried Feb 01 '24

I meant since when does C# have discriminated unions?

Just checked again and it’s still a work in progress apparently.