DEV Community

Discussion on: Are TypeScript enums Still Bad?

Collapse
 
papooch profile image
Ondřej Švanda

All the hate about typescript enums is fueled by people who either never used typescript or intentionally used them wrong (and frankly, most of the proposed "fixes" to them is a bunch of unreadable mess #hot_take). Of course they have some issues, which can be said about virtually all useful things, but if you know how to use them, they are an invaluable feature.