Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Comparison Between TypeScript and Facebook Flow (github.com/microsoft)
28 points by rayshan on Feb 23, 2015 | hide | past | favorite | 4 comments


Is Flow inspired by Facebook's Hack? It reminds me of it.


Seeing as both are developed by Facebook, I would say yes.


Thoughts on which has the better type system?


In my opinion both has strong and weak point. I love how flow can capture generic for higher order function and I love flow non-null types. In the other end typescript seems 'safer' especially in the field of type inference, sometimes flow infer union types where you really would not expect to happen. Which ends up with some weird bugs.




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

Search: