News for hackers. Stuff that matters.
Re:A Preview of C# 8 [video] by chowells on Friday August 25, 2017 @04:10PM (#15101776)
He's asking for exhaustiveness checking of pattern matching algebraic data types. Many languages have had this for essentially forever.

It does sometimes mean that when you update some code, you have to update a bunch of other things. But it's rarely spurious. Usually those other things are broken by failing to consider the new possibility.

In the long term, it's a maintenance win.

Re:A Preview of C# 8 [video] by jameshart on Friday August 25, 2017 @08:53PM (#15103465)
But C# enums are a terribly weak data type, not a good implementation for the semantic you're looking for at all.

Better to ask for a C# union type and matching syntax.