Hacker News new | ask | show | jobs
by reiyne 2848 days ago
> Finally, we wanted to start annotating types with Flow to perform static type checking at build time, and we concluded that the chaining syntax doesn’t lend itself well to static analysis, since almost every result of a jQuery method call is of the same type. We chose Flow over alternatives because, at the time, features such as @flow weak mode allowed us to progressively and efficiently start applying types to a codebase which was largely untyped.
2 comments

Typescript will probably be force-dog fed at some point. However, I don't think it will be a mistake.
I've never used Flow, but that sounds the same as `--noImplicitAny` or `--strict` in TypeScript.