News for hackers. Stuff that matters.
Re:An introduction to type programming in TypeScript by brundolf on Wednesday February 02, 2022 @01:34PM (#30181829)
> and I expect will eventually crumble into unreadable tech debt

Or crumble when tsc tries to follow them ;)

I’ve sometimes found, perhaps for the better, that when I get too creative with types the typescript compiler will at some point just not be able to follow what I’m trying to tell it any more. Even though my types are correct, theoretically, it will just sort of tip over. That usually serves as a good sign that I shouldn’t be trying to do what I’m doing at all.

There are no comments on this comment yet.