[Pulp-dev] Discouraging Usage of *args and **kwargs in Pulp3
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...
Size: 473 bytes
Desc: This is a digitally signed message part
More information about the Pulp-dev