News for hackers. Stuff that matters.
Re:TypeScript Features to Avoid by CognitiveLens on Thursday January 20, 2022 @06:57PM (#30017211)
Could you expand on this? I can't think of places where a string enum would be less useful than a numeric, although I can think of places where numeric enums fall over, e.g. if you have a value that can be one of two different enums and you have to figure out which it is - runtime numeric enum values shouldn't be compared because they regularly have the same value.

There are no comments on this comment yet.