[Python-ideas] Short form for keyword arguments and dicts

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jun 25 01:49:56 CEST 2013


Andrew Barnert wrote:
> On Jun 23, 2013, at 16:34, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 
>>It occurs more often than you might think, because taking
>>parameters that you've been passed and passing them on to
>>another function is a common pattern
> 
> Yes, I do that all the time. But I can't think of a single case where
> there's any benefit to using keyword arguments.

That's puzzling, because the benefits are the same as with
any other call that benefits from keyword arguments. Do you
doubt the usefulness of keyword arguments in general?

-- 
Greg



More information about the Python-ideas mailing list