News for hackers. Stuff that matters.
Re:TypeScript enums: use cases and alternatives by eyelidlessness on Monday January 20, 2025 @12:53PM (#42771198)
It’s moving slowly, but I think it’s almost inevitable. Type annotations are generally gaining or maintaining their already widespread popularity, and bringing them into the language syntax would just be an acknowledgment of that fact. I think the only thing that might hold that back is the proposal’s commitment to non-TypeScript use cases, which while magnanimous is a huge opportunity for the kinds of bike shedding that might tank a proposal like it.

There are no comments on this comment yet.