Comment Comment by pierreyoda > Hmm, what did I miss, why do people hate them exactly?In my experience, enums are far less type safe and convenient (usage in switch for instance, combined with a linter) than union types. parent pierreyoda 5 years ago
In my experience, enums are far less type safe and convenient (usage in switch for instance, combined with a linter) than union types.