On 2017-04-25 14:15, Brice PARENT wrote:
But, any of these proposals, mine and yours, if you really need this to shorten
the code writing time or vertical space only, is not a better idea than to
propose a macro to your IDE editor, or a pull request if it's open source. Such
a macro would generate automatically those long-to-write lines, and maybe
implement some code folding if vertical space is an issue.

I'm personally not bothered by vertical space, but rather typing the same thing three times with self's and ='s. That's more boilerplate than Java. ;)
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to