Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: