Hacker News new | ask | show | jobs
by zozbot234 2183 days ago
I think variant records (aka 'enums' in Rust) were first popularized by Pascal. They were in ALGOL 68 even earlier, but that language wasn't widely used.