News for hackers. Stuff that matters.
Re:Why doesn't TypeScript properly type Object.keys? by mirekrusin on Saturday June 24, 2023 @10:58AM (#36459230)
Yes, that's true, they could support emitting metadata with explicit keyword which would help and wouldn't bloat anything implicitly, they already do emit code for enums for example.

Personally I'm fan of not introducing new language that runs at comp time, just use the same language to have macros and operations on types for free - just like Zig does it.

Typescript type system is already turing complete so it's not like they'd be loosing anything there.

There are no comments on this comment yet.