News for hackers. Stuff that matters.
Re:TypeScript is terrible for library developers by jollybean on Tuesday August 23, 2022 @09:04PM (#32573769)
Maybe you missed the point here.

"Lean how to use my types!"

Any given project uses a large number of libraries.

The point of a library is that it's 'useful'.

When a large number of libraries use vague and differing typings, it becomes impossible to manage.

The fragmentation created by the agile nature of Typescript is, predictably, a giant problem.

Re:TypeScript is terrible for library developers by latchkey on Tuesday August 23, 2022 @09:11PM (#32573838)
Anyone can write bad software with terrible APIs. That isn't the problem of the language and certainly doesn't make it 'terrible for library developers'.

My point is that I've written a library that gets a lot of use. It has decent enough APIs. Nobody is writing blog posts like this about my stuff.