Flow Compared To Typescript
- I’m not trying to start a flame-war. Both Typescript and Flow are great.
- I’m not a Typescript expert so feel free to correct me on Twitter (@naman34)
- I’m assuming Typescript >2.0 which includes non-nullable types (because nullbale-types === ?)
Both are extremely powerful, gradual, structural, type-systems. They also, look very similar, with almost the same syntax. Almost.
Often developers jumping from one system to the other get frustrated that all the things they learnt no longer work in the same way. And they assume that the features aren’t supported. And so, they do what any modern JS developer would do and vent on Twitter.
But wait, didn’t I just tell you that both type-systems are powerful. Everything you did in one type-systems...
Continue reading →