What will be the benefits of type hinting in Python?
<p>I was reading through the <a href="https://www.python.org/dev/peps/pep-0484/#abstract" rel="noreferrer">PEP 484 -- Type Hints</a></p>
<p>when it is implemented, the function specifies the type of arguments it accept and return.</p>
<pre><code>def greeting(name: str) -&gt; str:
    return 'Hello ' + name
</code></pre>
<p>My question is, What are the benefits of type hinting with Python if implemented?</p>
<p>I have used TypeScript where types are useful (as JavaScript is kinda foolish in terms of type identification), while Python being kinda intelligent with types, what benefits can type hinting bring to Python if implemented? Does this improve python performance?</p>