23 Jul
2010
23 Jul
'10
5:56 p.m.
I think it's a form of weak typing from languages like PHP, that
allows programmer to make huge amounts of mistakes, that are sometimes
difficult to spot.
On Fri, Jul 23, 2010 at 4:10 PM, INADA Naoki
Hi, all.
Below code is syntax error now:
foo = 123 x = 'foo' foo 'bar'
I wonder if that code is interpreted as:
x = 'foo' + str(foo) + 'bar' or x = 'foo%sbar' % (foo,)
I think this syntax sugar doesn't import any compatibility problem and simple enough for Python.
What do you think about it?
-- INADA Naoki
_______________________________________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/mailman/listinfo/python-ideas
-- Andrey Popp phone: +7 911 740 24 91 e-mail: 8mayday@gmail.com