<p dir="ltr">Thanks Mark!</p>
<div class="gmail_quote">On May 22, 2015 1:52 PM, "Mark Shannon" <<a href="mailto:mark@hotpy.org">mark@hotpy.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I am pleased to announce that I am accepting PEP 484 (Type Hints).<br>
<br>
Given the proximity of the beta release I thought I would get this announcement out now, even though there are some (very) minor details to iron out.<br>
(If you want to know the details, it's all at <a href="https://github.com/ambv/typehinting" target="_blank">https://github.com/ambv/typehinting</a>)<br>
<br>
<br>
I hope that PEP 484 will be a benefit to all users of Python.<br>
I think the proposed annotation semantics and accompanying module are technically sound and I hope that they are socially acceptable to the Python community.<br>
<br>
I have long been aware that as well as a powerful, sophisticated and "production quality" language, Python is also used by many casual programmers, and as a language to introduce children to programming.<br>
I also realise that this PEP does not look like it will be any help to the part-time programmer or beginner. However, I am convinced that it will enable significant improvements to IDEs (hopefully including IDLE), static checkers and other tools.<br>
These tools will then help us all, beginners included.<br>
<br>
This PEP has been a huge amount of work, involving a lot of people.<br>
So thank you to everyone involved. If I were to list names I would inevitably miss someone out. You know who you are.<br>
<br>
Finally, if you are worried that this will make Python ugly and turn it into some sort of inferior Java, then I share you concerns, but I would like to remind you of another potential ugliness; operator overloading.<br>
<br>
C++, Perl and Haskell have operator overloading and it gets abused something rotten to produce "concise" (a.k.a. line noise) code.<br>
Python also has operator overloading and it is used sensibly, as it should be. Why?<br>
It's a cultural issue; readability matters.<br>
<br>
Python is your language, please use type-hints responsibly :)<br>
<br>
Cheers,<br>
Mark.<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" target="_blank">https://mail.python.org/mailman/options/python-dev/guido%40python.org</a><br>
</blockquote></div>