3 ms·
As someone who does most of their professional development in Python, I’ve been eagerly waiting for something like Mypy, but my experience with it has been real
by weberc2 8y ago
As someone who does most of their professional development in Python, I’ve been eagerly waiting for something like Mypy, but my experience with it has been really disappointing and frustrating compared to languages like Go. Mypy mostly seems immature, buggy, and completely unergonomic (typing support was shoehorned into the syntax so most things chafe—declaring a type variable or a callable that takes args and kwargs). Python needs a better static typing story in order to be a productive language in medium-to-large-sized projects.
- Rotareti 8y agoAs someone who works full time in Python and TypeScript, I find the typing experience quite similar in both languages. You can be "productive" in both languages "in medium-to-large-sized projects". > Mypy mostly seems immature, buggy ... That was my experience some time ago as well, but it's getting better from release to release. Look at the repo [0], it's continuously improving. I find Mypy deserves more recognition. The same guys working on mypyc [1], which I think is very interesting too. [0]: https://github.com/python/mypy/graphs/contributors https://github.com/python/mypy/graphs/contributors [1]: https://github.com/mypyc/mypyc https://github.com/mypyc/mypyc
- weberc2 8y agoThat’s great to hear. It’s been a while so I should go back and try it again!