
On Sat, Mar 28, 2009, Steven D'Aprano wrote:
Not only is this a self-inflicted error (writing C++ code in a Python program is a PEBCAK error), but it's rare: it only affects a minority of C++ programmers, and they are only a minority of Python programmers. There's no need to complicate the grammar to prevent this sort of error. Keep it simple. ---1 on the proposal (*grin*).
In all fairness, "++" is valid in many C-derived languages, so it hits C and C++ programmers, plus Ruby and Perl programmers. I'm not in favor of this restriction, but I'm not opposed, either, and I think your thesis is invalid. -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22