Re:TypeScript is terrible for library developers
by latchkey on Tuesday August 23, 2022 @04:36PM
(#32571126)
What I said is that I call bullshit on his 5 points. None of them are valid and they are just opinions of a developer who hasn't put the effort in and isn't providing concrete examples of what is actually wrong. I actually find it difficult to understand why this is even on the front page of HN, maybe it is a slow news day?
I feel that my point is proven with a successful multiple year open source Typescript library.
Great documentation? That's subjective. I'd start with a deep reading of the official docs as they are quite good: https://www.typescriptlang.org/docs/
Re:TypeScript is terrible for library developers
by westoncb on Tuesday August 23, 2022 @05:13PM
(#32571592)
> I feel that my point is proven with a successful multiple year open source Typescript library.
That only proves that it's possible to do, not that the language facilitates it or that certain modifications to the language/ecosystem wouldn't greatly improve the process. The point of the article is the latter, not the former.
I agree with GP, you don't seem to have read his article and knee jerked a reply.
And all you have to do to prove your point is to link some great documentation explaining how to make complex types for libraries and how to test them.
Which you haven't.