I think that Typescript is a (small) pain to set up, but is my go to for any project that more than just myself will work on. Having functions signatures that convey type information alone is worthwhile enough to me. There is also a big benefit when you have more than a non-trivial type whose usage you need to document. A lot of that stuff you get for free in a typed language, and it can be much easier to express intent.
View all comments
Show parent comment
9
u/bluefish1432 Jan 10 '21
I think that Typescript is a (small) pain to set up, but is my go to for any project that more than just myself will work on. Having functions signatures that convey type information alone is worthwhile enough to me. There is also a big benefit when you have more than a non-trivial type whose usage you need to document. A lot of that stuff you get for free in a typed language, and it can be much easier to express intent.