4 ms·
I haven't used Flow much, but having used TypeScript at work for only a few weeks we've already found several instances where the type system isn't flexible/com
by cletusw 9y ago
I haven't used Flow much, but having used TypeScript at work for only a few weeks we've already found several instances where the type system isn't flexible/complete enough to describe several perfectly valid JavaScript idioms. Workarounds often mean lots of `any` types or tons of boilerplate/repeated code. Not fun. On the whole, though, compared to un-typed JavaScript, still totally worth it. I'd just be interested to see how Flow handles some of these situations.
- icholy 9y agoDo you have an example of one of these idioms that typescript can't handle?
- deleted 9y ago[deleted]
- ArlenBales 9y agoCould you please post those situations? Someone familiar with Flow might be able to answer you.