[Python-ideas] Optional static typing -- the crossroads
Skip Montanaro
skip at pobox.com
Fri Aug 15 21:13:39 CEST 2014
On Fri, Aug 15, 2014 at 1:43 PM, Sunjay Varma <varma.sunjay at gmail.com>
wrote:
> Using brackets may confuse new Python programmers. Since specifying type
> in Python is fairly new anyway, what do you all think of introducing angle
> brackets into Python instead?
Is this a facility which new programmers are likely to encounter right off
the bat or is it going to mostly be buried from casual view?
The use of paired angle brackets has been suggested over the years for
other purposes in Python. I no longer recall the arguments against them,
but ISTR issues with grammar complexity and syntax highlighting in editors.
Still, since C++ somehow managed to use them that way, perhaps all the
various tools which might be exposed to them have been fixed by now.
Skip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140815/0ee6640e/attachment.html>
More information about the Python-ideas
mailing list