Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Similar arguments here: 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.



Think 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...


Library 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: