Re:TypeScript 2.3
by cletusw on Thursday April 27, 2017 @03:09PM
(#14213930)
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.
[ Parent
| on HN ]
Do you have an example of one of these idioms that typescript can't handle?
Re:TypeScript 2.3
by ArlenBales on Thursday April 27, 2017 @05:04PM
(#14214697)
Could you please post those situations? Someone familiar with Flow might be able to answer you.