Hacker News new | ask | show | jobs
by Dah00n 1888 days ago
Could you supply an example that an enum wouldn't do as well? How is a bool null, false, true different than an enum with null, false, true?

Edit: grammar

1 comments

Logically they're the same, they're isomorphic. It's just about ergonomics, readability, etc.