3 ms·
>In effect, we are shifting complexity from end-developers to library developers. This places a huge burden on us to be experts with how typescript works. Inte
by nichochar 4y ago
>In effect, we are shifting complexity from end-developers to library developers. This places a huge burden on us to be experts with how typescript works.
Interesting, I had never thought of this tension, but I think I disagree with the author and think this is a good tradeoff.
We shouldn't assume all developers are library developers, most beginner developers for example don't write libraries or shouldn't. I think it's actually good to force competence in the library author domain (within reason), since they can abstract away this pesky complexity (the point of any good library).
I like this new mental model, but I still agree with the author that typescript is too hard to work with and developer experience with it has a ways to go.