Hacker News new | ask | show | jobs
by shepherdjerred 699 days ago
100% agree. Coming from Java I really wanted an Enum type, but string literals/discriminated unions fill that niche just fine.