News for hackers. Stuff that matters.
Re:Migrating 300k LOC from Flow to TypeScript by eropple on Friday June 21, 2019 @08:48AM (#20242016)
TypeScript doesn't encourage returning classes. Writing classes just as data handlers is still verbose and clumsy. You can have a team that's writing Java in TypeScript and see that, but that's not conventional at all.

Instead, TypeScript encourages returning structurally typed interfaces. Which are just data.

There are no comments on this comment yet.