3 ms·
In what way is Swift pattern matching not "much better than what you would get with a tagged C union"? enum in Swift has pattern matching support, can have pro
by xenadu02 10y ago
In what way is Swift pattern matching not "much better than what you would get with a tagged C union"?
enum in Swift has pattern matching support, can have properties, adopt protocols, etc.
I would disagree with your assessment that "nobody uses them".