4 ms·
I used the wrong wording: They have 15-20 *enum variants* per enum definition. Or more. I worked with a project that had close to 30-something enum variants. T
by dljsjr 5y ago
I used the wrong wording: They have 15-20 *enum variants* per enum definition. Or more. I worked with a project that had close to 30-something enum variants.
That’s just… wildly annoying to deal with IMO.
- catlifeonmars 5y agoThat sounds like a different design issue. Errors are certainly part of the API and it looks like they’re not encapsulated well enough.