Using Mypy in Production
The more I think about it, the more I think that the controversy around static type annotations in Python boils down to this:<p><pre><code>  Improved readability
</code></pre>
This is very subjective, and is particularly sensitive in a language like Python which (rightly) has such a strong historical emphasis on readability above almost anything else.<p>My personal opinion is that static type annotations are extremely <i>detrimental</i> to readability. They add jarring line noise that makes reading Python much less like reading English. Hitting a type annotation when reading Python forces my brain into little backtracking loops which hugely diminishes my ability to form a mental model of the code from a quick read.<p>I wonder if people who come to Python from other languages (that are already statically typed) are accustomed to the poor comprehension introduced by types, and so don&#x27;t experience this drawback.