Is an enum or a sealed class better for a large number of entries (i.e. emojis) ? I tried a sealed class but the IDE marks them as unused (they're part of the API) and it's very laggy
d
Dominaezzz
05/26/2019, 9:25 PM
Number of items shouldn't make much of a difference. Just go with enums. Only go to sealed classes when enums aren't ergonomic.