Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ajross
on May 9, 2024
|
parent
|
context
|
favorite
| on:
Algebraic Data Types for C99
Compilers are really smart. It's easy enough in the modern world to demand that a "type" field be checked against all enumerants, preserving the "semantic win". A plain old C switch statement with gcc -Wall will do this today, in fact.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: