News for hackers. Stuff that matters.
Re:Porting 30K lines of code from Flow to TypeScript by rtpg on Monday January 14, 2019 @09:40PM (#18908480)
the problem with most static typed languages is that the type systems are just not very flexible. Typescript union types are 10x more useful than Haskell's `Either` type, and you can build extremely complex type signatures that let you build clean APIs just from that.

Static typing is nice when the tools given actually let you build nice APIs

Re:Porting 30K lines of code from Flow to TypeScript by h1d on Tuesday January 15, 2019 @06:50AM (#18910492)
Good thing about TS is that it's currently an evolving language and if you have problems with the typing system, there's a good chance it will be improved instead of other languages where it might not pick the improvement up quickly which makes you feel like the language is at a dead end.