[Pulp-dev] Discouraging Usage of *args and **kwargs in Pulp3

Patrick Creech pcreech at redhat.com
Wed Jun 21 17:37:30 UTC 2017


On Wed, 2017-06-21 at 12:41 -0400, Brian Bouterse wrote:
> tl;dr:  Only use *args and **kwargs in a function signature if you can't be sure what will be passed in.
...
> If you see one of these in a PR or already committed, please change it. Please send thoughts, questions, or concerns about this recommendation.
> 
> 

The only 'thoughts' I have to add is a huge +1.  This explicit definition instead of implicit definition here will help in many facets of code readability and maintainability in the long run while
helping reduce unintentional side effects.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20170621/a42d3478/attachment.sig>


More information about the Pulp-dev mailing list