Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
owisd
on Aug 7, 2024
|
parent
|
context
|
favorite
| on:
Official proposal for Type Unions in C#
It's a different kind of ugly, but you can use the Visitor pattern to get the same exhaustiveness checking at compile time without a library.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: