[Python-ideas] Keyword only argument on function call

Chris Angelico rosuav at gmail.com
Sun Sep 9 05:26:25 EDT 2018

On Sun, Sep 9, 2018 at 5:32 PM, Anders Hovmöller <boxed at killingar.net> wrote:
>> I see it all the time in JavaScript, where ES2015 introduced a new
>> syntax {name} equivalent to {"name":name} - people will deliberately
>> change their variable names to match the desired object keys. So
>> saying "forcing" is an exaggeration, but a very slight one.
> Do you have an opinion or feeling about if those synchronizations are for good, neutral or evil?

Often neutral, sometimes definitely evil. Pretty much never good. That
said, my analysis is skewed towards the times when (as an instructor)
I am asked to assist - the times when a student has run into trouble.
But even compensating for that, I would say that the balance still
tips towards the bad.


More information about the Python-ideas mailing list