Flow vs. Typescript
I am the only one who is happy to code without static typing? Enjoying fast compilation, small, fast editors, flexibility.<p>I don&#x27;t really make stuff like marry(a, b) and then call it with a banana and an apple by accident. Sure I make plenty of mistakes when I am coding but only very few could have been caught by a static type check.<p>Take one of the examples in the slides:<p><pre><code>   let obj: string;
   obj = &#x27;yo&#x27;;
   &#x2F;&#x2F; Error: Type &#x27;number&#x27; is not assignable to type &#x27;string&#x27;.
   obj = 10;
</code></pre>
I simply don&#x27;t write code like that. The crucial difference is that I would pick a variable name that made it obvious what goes in it:<p><pre><code>   let text = &#x27;yo&#x27;;
   &#x2F;&#x2F; This line here - I would not in practice write as 10 obviously does not belong in text:
   text = 10;
</code></pre>
(similarly I would never use the variable name &#x27;what&#x27;)