|
|
|
|
|
by troad
28 days ago
|
|
But no one is actually confused. You yourself understand what the author meant, from your comments. Everyone here understands what he meant. It's neither ambiguous nor confusing to use the word union in CS. The only person who's making it so is you, by introducing semi-unrelated concepts from set theory that happen to have the same name as the established CS concept. Why stop there? Maybe the author meant the Union, as in the United States? Itself quite ambiguous - does he mean the United States of Mexico, or the United States of the Ionian Islands? Is C# getting Corfu? Corfu dot net? :P |
|
Wrong, see this comment: https://news.ycombinator.com/item?id=48251896
Clearly he thought that it's the same kind of union as in TypeScript and that in C# just the syntax is weird. Which is not the case. Some others who are not commenting are probably also not aware of the two kinds of union types (or three, counting C separately).
> It's neither ambiguous nor confusing to use the word union in CS.
Well, we disagree.