4 ms·
Similar arguments here: https://bower.sh/typescript-terrible-for-library-developers https://bower.sh/typescript-terrible-for-library-developers As a library de
by qudat 3y ago
Similar arguments here: https://bower.sh/typescript-terrible-for-library-developers https://bower.sh/typescript-terrible-for-library-developers
As a library developer I spend substantially more time on making the types right than the actual implementation. It can be brutal at times.
- IshKebab 3y agoThink of how much time you'd have to spend writing trivial tests instead if you didn't have an automated system to detect basic mistakes like typos and type confusion! I guess you can complain that Typescript forces you to spend time making sure your code meets a minimal bar of correctness...
- meheleventyone 3y agoLibrary developers in particular should see type complexity as a warning that something isn’t great in the design. This seems largely an issue for libraries migrating to TS which isn’t a surprise.