DEV Community

Discussion on: The Comprehensive Guide to mypy

Collapse
 
0916dhkim profile image
Danny Kim

In JavaScript ecosystem, some third-party libraries have no Typescript support at all or sometimes have incorrect types which can be a major hassle during development. How's the status of mypy in Python ecosystem?

Collapse
 
tusharsadhwani profile image
Tushar Sadhwani

Mypy is still fairly new, it was essentially unknown as early as 4 years ago. But the good thing about both of them is that you can add types to projects even if the original authors don't, using type stub files, and most common libraries have either type support or stubs available :)

Not much different than TypeScript honestly.