Python Type Hints
Type hinting feels like a bandaid for a fundamental limitation of dynamic languages. I&#x27;ve just gotten back to a complex, experimental codebase after only a couple months of absence, and am refactoring it to accommodate for the implementation of a number of previously unplanned features. Even with type hinting and heuristic linting it&#x27;s such a huge pain! After making a large number of changes I end up having to rerun the code repeatedly to find and squash bugs, and that says nothing of the code paths I don&#x27;t end up taking. Is there a better way to utilize the convenience of python for experimental code without running into the scalability issues of large python codebases?<p>Contrast this to my experience with C# in visual studio (not visual studio code, which is inferior). The state of flow I can get into when performing large scale refactoring, with immediate, accurate feedback in the form of a clickable, line by line list of what&#x27;s broken is unmatched. I would love such a pleasant experience in a python IDE but I&#x27;m not sure it&#x27;s possible because of the nature of duck typing. It&#x27;s like a real time, automatically generated checklist of exactly where to propagate changes, takes a massive load off my working memory and provides an uninterrupted flow of dopamine. A true state of zen if I&#x27;ve ever experienced one.