Re: [Python-ideas] An alternative to PEP 572's Statement-Local Name Bindings

March 3, 2018
4:58 p.m.
Robert Vanden Eynde wrote:
The "make it a keyword in a context" might lead to things like "print(where where where = where)", not sure you'd want that :)
What the heck, if it was good enough for PL/1...
But that's just a choice of syntax,
Choice of syntax is important, though. It's all very well to come up with an "insert syntax here" proposal that has some big obvious benefit, but if you can't actually come up with a pleasing syntax for it, then it won't fly. So it makes sense to consider potential syntaxes along with other aspects of a proposal. -- Greg
2572
Age (days ago)
2572
Last active (days ago)
0 comments
1 participants
participants (1)
-
Greg Ewing