On Thu, Sep 13, 2018, 12:39 AM Anders Hovmöller <bo...@killingar.net> wrote:

> It seems to me this discussion has drifted away from the original
> discussion toward one where you have a chain of functions with the same or
> almost the same signature. This is interesting for sure but we shouldn’t
> forget about the original topic: how can we make it less painful to use
> keyword arguments?
>

Using keyword arguments is not painful. It's ugly in some unusual cases,
such as creating helper functions with nearly the same signature.

I try to avoid that situation in my own code. It sometimes requires a
significant design change, but I'm usually pleased with the results. If you
don't have the inclination to reconsider the design, it could be nice to
create a standard code pattern for these pass-through functions to make
them more beautiful.

>
_______________________________________________
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