4 ms·
The Python typing nightmares you refer to go away on large projects as soon as you start using mypy, which I tend to find most large projects do these days. So
by pydry 3y ago
The Python typing nightmares you refer to go away on large projects as soon as you start using mypy, which I tend to find most large projects do these days.
So yes, you can change that string and you do know.
It's still better that it's optional and gradual - it's unnecessary overhead on smaller projects, spikes, notebooks, etc. which are what most big projects grow out of.
- kietay 3y agoPython typing nightmares definitely do not just go away with the use of mypy. There are so so many ways to break out of the guardrails it supplies that are not caught.
- pydry 3y agoI can write stringly typed code in haskell too if it comes to that.
- Biganon 3y agoDon't you need stumps which are quite often not available?