On 26/04/17 23:28, Paul Moore wrote:
Or to put it another way, if the only
reason for the syntax proposal is performance then show me a case
where performance is so critical that it warrants a language change.
It's the other way around.
The proposal (arguably) makes the code clearer but does not impact
performance (and is a syntax error today, so does not break existing code).
The suggestions (decorators etc) make the code (arguably) clearer today
without a syntax change, but impact performance.
So, those who think the decorators make for clearer code have to choose
between source code clarity and performance.
E.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/