Excellent choice of term.
I've been a full-stack web developer for over a decade across multiple companies and this is the first time I've seen the phrase "discriminated unions".
And the wikipedia article is horrendous. It starts with the following sentence and gets worse from there.
> In computer science, a tagged union, also called a variant, variant record, choice type, discriminated union, disjoint union, sum type or coproduct, is a data structure used to hold a value that could take on several different, but fixed, types.
It uses lots and lots of words to explain something that's very simple. If you don't already know what it is, you can't figure out which words are important.
Then after all of the theory, it dives into a binary tree example which has to be the worst possible way to explain it. If you haven't implemented a binary tree before, you don't know any idea what you're looking at. It didn't help that I implemented a linked list in college.
Also, the choice of language ensures you have no idea what the types are. I completely missed the first example was self-referential.
It's like parody of a function programmer writing an explanation for anyone who isn't a functional programmer.