New syntax for blocks
Steven D'Aprano
steven at REMOVE.THIS.cybersource.com.au
Tue Nov 10 22:12:55 EST 2009
On Tue, 10 Nov 2009 12:45:13 -0800, Bearophile wrote:
> r:
>
>> i think the following syntax would be quite beneficial to replace some
>> redundant "if's" in python code.
>
> http://python.org/dev/peps/pep-3003/
I knew it wouldn't take long for people to start responding to any
proposal with "don't bother, there's a moratorium".
Of course in this case, the correct response would have been "don't
bother, it's a stupid idea, moratorium or no moratorium".
Hint to would-be language designers: if you start off by claiming that a
new feature will save an indent level, when in fact it *doesn't* save an
indent level, you can save yourself from embarrassment by pressing Close
on your post instead of Send.
--
Steven
More information about the Python-list
mailing list