C# 15: Union Types, Closed Hierarchies, and the Unique One Value
Comments on “C# 15: Union Types, Closed Hierarchies, and the Unique One Value”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
Christian Ekrem tried C# 15's new union keyword and closed classes on the .NET 11 release candidate. Switch expressions over a union are exhaustive, but a missing case only raises warning CS8509 unless made an error, and switch statements get no check. Because a union compiles to a struct, default holds a null that no case matches, so the documentation advises a null arm. He also found value types boxed, no built-in Result type, and System.Text.Json failing to deserialize unions. Several findings rest on his own runs.
Why it ranked
No. 5 of 95 with a score of 0.70. The panel rated it highest on technical depth (0.92) and new information (0.90), lowest on audience breadth (0.61). Placed No. 5, No. 10 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- Hands-on, well-substantiated tour of C# 15 union types with reproduced compiler output and pitfalls; highly relevant to developers, though it covers one language feature rather than a broad landmark.
- AI judgeJudge 3gpt-5.6-luna
- A deeply tested, technically detailed first look at C# 15 unions and closed hierarchies, including compiler behavior, defaults, generics, JSON, interop, and actionable adoption guidance. It is highly relevant to C# developers, though narrower than a field-wide development.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.70total under rubric v2.3
- Significance0.64
- Reader interest0.75
- Audience breadth0.61
- Practical relevance0.71
- Substantiated0.87
- Technical depth0.92
- New information0.90
- Counts against: Promotional0.04
- Counts against: Overclaim0.15
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.64 | 0.55 | 0.72 | 0.64 | 0.17 | +0.24 | +0.153 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.62 | 0.78 | 0.86 | 0.75 | 0.24 | +0.26 | +0.196 |
| Audience breadthHow many people who build technology does it concern? | 0.62 | 0.62 | 0.58 | 0.61 | 0.04 | +0.13 | +0.079 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.76 | 0.60 | 0.78 | 0.71 | 0.18 | +0.22 | +0.157 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.86 | 0.85 | 0.90 | 0.87 | 0.05 | +0.05 | +0.044 |
| Technical depthHow technically substantive is it? | 0.98 | 0.85 | 0.91 | 0.92 | 0.14 | +0.05 | +0.046 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.90 | 0.80 | 1.00 | 0.90 | 0.20 | +0.05 | +0.045 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.05 | 0.05 | 0.01 | 0.04 | 0.04 | −0.19 | −0.007 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.22 | 0.10 | 0.12 | 0.15 | 0.12 | −0.11 | −0.016 |
| Sum of contributions | +0.696 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.696 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-10/5/"><img src="https://rubric.hrih.si/badge/2026-11-10/5.svg" alt="Ranked #5 on Rubric, 10 Nov 2026" width="238" height="28"></a>Claim check
Claim check: 3 matches source · 3 no source given · 2 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
No source givenVersion
C# 15 is the default language version for net11.0, so no preview flags are needed to use union types.
The article gives no link or citation for it.
The article says “C# 15 is the default language version for net11.0”
The source says No source to compare with.
Couldn’t checkDate
.NET 11 launches this week at .NET Conf, bringing C# 15 with a new union keyword.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “NET 11 launches this week at .NET Conf, and with it comes C# 15”
The source says No passage could be compared.
Source cited by the article: dotnet.microsoft.com/en-us/conf
Couldn’t checkGeneralization
A C# union is a union of types rather than tagged cases, so declaring a union of (string, string) fails to compile with CS0111.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “A C# union is a union of types. The spec is upfront about this, and the compiler is too”
The source says No passage could be compared.
Source cited by the article: learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-15.0/unions
Matches sourceCausal conclusion
A C# union compiles to a struct, so a default instance contains a null Value and is matched by none of the case types.
The cited source says the same thing.
The article says “A union compiles to a struct. And every struct in C# has a default”
The source says “A default union contains null, including when it's a default-initialized field or array element”
Source cited by the article: learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/union
Matches sourceQuote
The documentation states that a default union contains null and recommends a null arm in switches when default contents can reach them.
The cited source says the same thing.
The article says “A default union contains null”), and recommends a null arm whenever default contents can reach your switch”
The source says “Handle null for correctness whenever default contents can reach your switch”
Source cited by the article: learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/union
Matches sourceVersion
A closed class can only be derived from inside its own assembly and is implicitly abstract; the docs say closedness is not transitive for non-closed subclasses.
The cited source says the same thing.
The article says “A closed class can only be derived from inside its own assembly, and it’s implicitly abstract”
The source says “A closed class can only be derived from within its declaring assembly, which fixes the set of direct descendants at compile time”
Source cited by the article: learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-15
No source givenNumber
The generated union stores its value as a single object, so an int case gets boxed.
The article gives no link or citation for it.
The article says “The generated union stores whatever you put in it as a single object”
The source says No source to compare with.
No source givenNumber
System.Text.Json serializes a union's case value without a tag but cannot deserialize it back to the union type, throwing a JsonException about ambiguity.
The article gives no link or citation for it.
The article says “It serializes the case value with no tag, and then can’t read it back, because an object is an object”
The source says No source to compare with.
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 3 pts, not on front page
Recorded for context only, checked 10 Nov 2026, 05:47 UTC. It played no part in the ranking.