Edition of Tuesday 10 November 2026

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.

Read the original at cekrem.github.io. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

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

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • 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).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.640.550.720.640.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.620.780.860.750.24+0.26+0.196
Audience breadthHow many people who build technology does it concern?0.620.620.580.610.04+0.13+0.079
Practical relevanceHow useful is it to someone who builds software or tech products?0.760.600.780.710.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.860.850.900.870.05+0.05+0.044
Technical depthHow technically substantive is it?0.980.850.910.920.14+0.05+0.046
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.900.801.000.900.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.050.050.010.040.04−0.19−0.007
OverclaimDo the headline or conclusions claim more than the body supports?0.220.100.120.150.12−0.11−0.016
Sum of contributions+0.696
Claim-check penalty0.000
Total, as published0.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.

Ranked #5 on Rubric, 10 Nov 2026
<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.

  1. 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.

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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.

  8. 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

Discussion on Hacker News

Recorded for context only, checked 10 Nov 2026, 05:47 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “C# 15: Union Types, Closed Hierarchies, and the Unique One Value”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.