News for hackers. Stuff that matters.
Re:Functions and algorithms implemented purely with TypeScri... by patrickthebold on Wednesday July 05, 2023 @10:03AM (#36600643)
In my experience it's quite difficult to keep things simple. It's a constant battle and sometimes we fail.

If you are using typescript you can either go down the path of using `as` and `any`, which at that point the benefits start declining. Or you can work really hard with typescript and make something complicated that correctly matches your code's logic.

But saying, "write simple code" doesn't really help much without saying how to do it.

There are no comments on this comment yet.