Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Don't Use Booleans. Parent comment
There may be a really good use case for the enum type, but I think in most cases, string type unions are clearer, easier, and less prone to errors.
There are no comments on this comment yet.
There may be a really good use case for the enum type, but I think in most cases, string type unions are clearer, easier, and less prone to errors.