3 ms·
mypy is immature compared to TypeScript and Flow. In theory, python is better (mypy, pypy, async/await). In practice most libs don't use asyncio (in node every
by spion 10y ago
mypy is immature compared to TypeScript and Flow.
In theory, python is better (mypy, pypy, async/await). In practice most libs don't use asyncio (in node everything does and can be auto-promisified), can't run on pypy (in node everything runs with the fast JIT optimizing things) and the typechecker is not mature enough to express most things (unlike TS/Flow).