Skip to content

Comment on In Defence of TypeScript Enums

Comments

Nice article, clearly defines the scope for enums and why it is so in TS. I had the same feeling and use enums a lit less than in C#, because of mentioned limitations, but they're still useful for right purpose

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.