[Python-ideas] Augmented assignment syntax for objects.

Mike Miller python-ideas at mgmiller.net
Tue Apr 25 17:27:51 EDT 2017



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.  ;)


More information about the Python-ideas mailing list